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

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

Issue 18652008: Deploy adb reconnect on disconnect daemon on WebKit Android bots. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Finally got the try bots to pass. Remove from try bots and commit for webkit bots. Created 7 years, 5 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/buildbot/bb_run_bot.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 440c1508c7843530f83d44018d152db12619c324..c8e7b3584b349779c5c853615b9149805731b8b2 100755
--- a/build/android/buildbot/bb_device_steps.py
+++ b/build/android/buildbot/bb_device_steps.py
@@ -14,6 +14,7 @@ import bb_utils
import bb_annotations
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
+import provision_devices
from pylib import android_commands
from pylib import constants
from pylib.gtest import gtest_config
@@ -251,7 +252,10 @@ def ProvisionDevices(options):
bb_annotations.PrintNamedStep('provision_devices')
if options.reboot:
RebootDevices()
- RunCmd(['build/android/provision_devices.py', '-t', options.target])
+ provision_cmd = ['build/android/provision_devices.py', '-t', options.target]
+ if options.auto_reconnect:
+ provision_cmd.append('--auto-reconnect')
+ RunCmd(provision_cmd)
def DeviceStatusCheck(_):
@@ -379,6 +383,7 @@ def main(argv):
setattr(options, 'target', options.factory_properties.get('target', 'Debug'))
MainTestWrapper(options)
+ provision_devices.KillHostHeartbeat()
if __name__ == '__main__':
« no previous file with comments | « no previous file | build/android/buildbot/bb_run_bot.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698