summaryrefslogtreecommitdiffstats
path: root/build/android/buildbot
diff options
context:
space:
mode:
authoreseidel@chromium.org <eseidel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-17 21:51:21 +0000
committereseidel@chromium.org <eseidel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-17 21:51:21 +0000
commit7b54a872367bf6f09bca4ff7c810cfcdd729b539 (patch)
treebcc7a0927b1fef9a9079879c996f81648e9d5b1c /build/android/buildbot
parent4a6274b2228053c6b87d72abc559db1fd6ba4245 (diff)
downloadchromium_src-7b54a872367bf6f09bca4ff7c810cfcdd729b539.zip
chromium_src-7b54a872367bf6f09bca4ff7c810cfcdd729b539.tar.gz
chromium_src-7b54a872367bf6f09bca4ff7c810cfcdd729b539.tar.bz2
Make provision_devices failures abort the build
Otherwise if the devices are gone lots of tests will just fail. Already fixed this for recipe based builders in crbug.com/393681 I don't know how to test this, but happy to write one if shown. BUG=393681 NOTRY=True Review URL: https://codereview.chromium.org/390993003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283890 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android/buildbot')
-rwxr-xr-xbuild/android/buildbot/bb_device_steps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py
index de70d80..1d0ba35 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -414,7 +414,7 @@ def ProvisionDevices(options):
provision_cmd.append('--auto-reconnect')
if options.skip_wipe:
provision_cmd.append('--skip-wipe')
- RunCmd(provision_cmd)
+ RunCmd(provision_cmd, halt_on_failure=True)
def DeviceStatusCheck(options):