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..0793da30c44b9e3e3178e7c0aa1d9401cd415b38 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 |
+ buildername = options.build_properties.get('buildername', '') |
+ if buildername == 'Android GN (stats)': |
Siva Chandra
2013/03/15 02:01:52
This if is a temporary. It will go away after we t
|
+ buildbot_report.PrintNamedStep('provision_devices') |
+ adb_reboot = 'out/%s/adb_reboot' % options.factory_properties['target'] |
+ cmd = ['build/android/provision_devices.py -a %s' % adb_reboot] |
+ RunCmd(cmd, flunk_on_failure=False) |
+ |
if options.install: |
test_obj = INSTRUMENTATION_TESTS[options.install] |
InstallApk(options, test_obj, print_step=True) |