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

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

Issue 23189022: [Android] Adds directory cleanup/creation for code coverage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/pylib/instrumentation/setup.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 5acc976923c05414d67ec8a6a525ea9e62574f8e..e72ba1ef4a8ab1fca844e6b3fe559a2846b48831 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -281,7 +281,7 @@ def DeviceStatusCheck(_):
def GetDeviceSetupStepCmds():
return [
('provision_devices', ProvisionDevices),
- ('device_status_check', DeviceStatusCheck)
+ ('device_status_check', DeviceStatusCheck),
]
@@ -385,6 +385,9 @@ 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/pylib/instrumentation/setup.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698