Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: build/android/buildbot/bb_device_steps.py

Issue 23506003: [Android] Add a cleanup option to generate_emma_html.py. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit fixed Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/android/generate_emma_html.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/buildbot/bb_device_steps.py
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py
index e72ba1ef4a8ab1fca844e6b3fe559a2846b48831..b8a1b84a01eb273b8baee26bda99cc81a8029f64 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -349,6 +349,7 @@ def GenerateJavaCoverageReport(options):
RunCmd(['build/android/generate_emma_html.py',
'--coverage-dir', options.coverage_dir,
'--metadata-dir', os.path.join(CHROME_SRC, 'out', options.target),
+ '--cleanup',
'--output', os.path.join(coverage_html, 'index.html')])
UploadCoverageData(options, coverage_html, 'java')
@@ -385,9 +386,6 @@ def MainTestWrapper(options):
test_obj = INSTRUMENTATION_TESTS[options.install]
InstallApk(options, test_obj, print_step=True)
- if options.coverage_bucket:
- RunCmd(['rm', '-rf', options.coverage_dir])
-
if options.test_filter:
bb_utils.RunSteps(options.test_filter, GetTestStepCmds(), options)
« no previous file with comments | « no previous file | build/android/generate_emma_html.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698