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) |