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

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

Issue 12733012: Provision Android devices after the 'device_status_check' step. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adding host heartbeat Created 7 years, 9 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/host_heartbeat.py » ('j') | build/android/provision_devices.py » ('J')
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 4bc095d809d5c3914e100f103b940f57443d42eb..3302ecc983acd2179400763120f19446d928caf1 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -264,6 +264,14 @@ def MainTestWrapper(options):
buildbot_report.PrintNamedStep('device_status_check')
RunCmd(['build/android/device_status_check.py'], flunk_on_failure=False)
+ # Provision devices
+ if options.experimental:
+ buildbot_report.PrintNamedStep('provision_devices')
+ adb_reboot = (CHROME_SRC +
+ '/out/%s/adb_reboot' % options.factory_properties['target'])
Isaac (away) 2013/03/25 23:50:03 default to 'Debug'' if factory_properties is missi
Siva Chandra 2013/03/26 02:27:51 Done.
+ cmd = ['build/android/provision_devices.py', '-a', '%s' % adb_reboot]
Isaac (away) 2013/03/25 23:50:03 just use adb_reboot here.
Siva Chandra 2013/03/26 02:27:51 Done.
+ RunCmd(cmd)
Isaac (away) 2013/03/25 23:50:03 Just call the command directly instead of making a
Siva Chandra 2013/03/26 02:27:51 Done.
+
if options.install:
test_obj = INSTRUMENTATION_TESTS[options.install]
InstallApk(options, test_obj, print_step=True)
« no previous file with comments | « no previous file | build/android/host_heartbeat.py » ('j') | build/android/provision_devices.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698