Index: build/android/test_runner.py |
diff --git a/build/android/test_runner.py b/build/android/test_runner.py |
index cc7bbee66322d23083d7039a6c5b3c61f4aa2e2e..f79e13e9786f81d71eb4aa2db9d9b1553ceeca12 100755 |
--- a/build/android/test_runner.py |
+++ b/build/android/test_runner.py |
@@ -149,6 +149,8 @@ def AddRemoteDeviceOptions(parser): |
group.add_argument('--remote-device-file', |
help=('File with JSON to select remote device. ' |
'Overrides all other flags.')) |
+ group.add_argument('--remote-device-timeout', type=int, |
+ help='Times to retry finding remote device') |
device_os_group = group.add_mutually_exclusive_group() |
device_os_group.add_argument('--remote-device-minimum-os', |
@@ -529,7 +531,7 @@ def AddUirobotTestOptions(parser): |
help='APK to run tests on.') |
group.add_argument( |
'--minutes', default=5, type=int, |
- help='Number of minutes to run uirobot test [default: %default].') |
+ help='Number of minutes to run uirobot test [default: %(default)s].') |
AddCommonOptions(parser) |
AddDeviceOptions(parser) |