diff options
author | ilevy@chromium.org <ilevy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-09 13:07:32 +0000 |
---|---|---|
committer | ilevy@chromium.org <ilevy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-09 13:07:32 +0000 |
commit | 8c3124deec840d441435236c49e056d2fb6fbdae (patch) | |
tree | 39c1a8ab955dfb2986caf7cc127059ccc0908687 /build | |
parent | 72238aac3b0551c82d5908723042025f046986fe (diff) | |
download | chromium_src-8c3124deec840d441435236c49e056d2fb6fbdae.zip chromium_src-8c3124deec840d441435236c49e056d2fb6fbdae.tar.gz chromium_src-8c3124deec840d441435236c49e056d2fb6fbdae.tar.bz2 |
[Android] Remove Reboot devices step
Consolidate these commands into provision_devices.
TBR=sivachandra@chromium.org
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/16472008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205118 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rwxr-xr-x | build/android/buildbot/bb_device_steps.py | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py index 4a65925..15df490 100755 --- a/build/android/buildbot/bb_device_steps.py +++ b/build/android/buildbot/bb_device_steps.py @@ -71,7 +71,6 @@ def RebootDeviceSafe(device): def RebootDevices(): """Reboot all attached and online devices.""" - buildbot_report.PrintNamedStep('Reboot devices') # Early return here to avoid presubmit dependence on adb, # which might not exist in this checkout. if bb_utils.TESTING: @@ -234,18 +233,16 @@ def MainTestWrapper(options): # Wait for logcat_monitor to pull existing logcat RunCmd(['sleep', '5']) + # Provision devices + buildbot_report.PrintNamedStep('provision_devices') if options.reboot: RebootDevices() + RunCmd(['build/android/provision_devices.py', '-t', options.target]) # Device check and alert emails buildbot_report.PrintNamedStep('device_status_check') RunCmd(['build/android/device_status_check.py'], halt_on_failure=True) - # Provision devices - buildbot_report.PrintNamedStep('provision_devices') - target = options.factory_properties.get('target', 'Debug') - RunCmd(['build/android/provision_devices.py', '-t', target]) - if options.install: test_obj = INSTRUMENTATION_TESTS[options.install] InstallApk(options, test_obj, print_step=True) |