| 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 26708cd1c9346cc7e41a882989c7514fb6120544..178a6c780b644d982a1e929df9bfe7afdd139f58 100755
|
| --- a/build/android/buildbot/bb_device_steps.py
|
| +++ b/build/android/buildbot/bb_device_steps.py
|
| @@ -402,7 +402,7 @@ def ProvisionDevices(options):
|
| adb.RestartAdbServer()
|
| RunCmd(['sleep', '1'])
|
|
|
| - if options.reboot:
|
| + if not options.no_reboot:
|
| RebootDevices()
|
| provision_cmd = ['build/android/provision_devices.py', '-t', options.target]
|
| if options.auto_reconnect:
|
| @@ -577,8 +577,8 @@ def GetDeviceStepsOptParser():
|
| parser.add_option('--asan', action='store_true', help='Run tests with asan.')
|
| parser.add_option('--install', metavar='<apk name>',
|
| help='Install an apk by name')
|
| - parser.add_option('--reboot', action='store_true',
|
| - help='Reboot devices before running tests')
|
| + parser.add_option('--no-reboot', action='store_true',
|
| + help='Do not reboot devices during provisioning.')
|
| parser.add_option('--coverage-bucket',
|
| help=('Bucket name to store coverage results. Coverage is '
|
| 'only run if this is set.'))
|
|
|