| Index: build/android/test_runner.py
|
| diff --git a/build/android/test_runner.py b/build/android/test_runner.py
|
| index 803e79f8ccb5b5d2954fc2c43285fc110ef55eaa..6eb368af41e282a8ec1f87a174afd94ff203356c 100755
|
| --- a/build/android/test_runner.py
|
| +++ b/build/android/test_runner.py
|
| @@ -121,40 +121,28 @@
|
| def AddRemoteDeviceOptions(parser):
|
| group = parser.add_argument_group('Remote Device Options')
|
|
|
| - group.add_argument('--trigger',
|
| + group.add_argument('--trigger', default='',
|
| help=('Only triggers the test if set. Stores test_run_id '
|
| 'in given file path. '))
|
| - group.add_argument('--collect',
|
| + group.add_argument('--collect', default='',
|
| help=('Only collects the test results if set. '
|
| 'Gets test_run_id from given file path.'))
|
| - group.add_argument('--remote-device', action='append',
|
| + group.add_argument('--remote-device', default='',
|
| help='Device type to run test on.')
|
| - group.add_argument('--results-path',
|
| + group.add_argument('--remote-device-os', default='',
|
| + help='OS to have on the device.')
|
| + group.add_argument('--results-path', default='',
|
| help='File path to download results to.')
|
| group.add_argument('--api-protocol',
|
| help='HTTP protocol to use. (http or https)')
|
| - group.add_argument('--api-address',
|
| - help='Address to send HTTP requests.')
|
| - group.add_argument('--api-port',
|
| - help='Port to send HTTP requests to.')
|
| - group.add_argument('--runner-type',
|
| + group.add_argument('--api-address', help='Address to send HTTP requests.')
|
| + group.add_argument('--api-port', help='Port to send HTTP requests to.')
|
| + group.add_argument('--runner-type', default='',
|
| help='Type of test to run as.')
|
| - group.add_argument('--runner-package',
|
| - help='Package name of test.')
|
| - group.add_argument('--device-type',
|
| + group.add_argument('--runner-package', help='Package name of test.')
|
| + group.add_argument('--device-type', default='Android',
|
| choices=constants.VALID_DEVICE_TYPES,
|
| help=('Type of device to run on. iOS or android'))
|
| - group.add_argument('--device-oem', action='append',
|
| - help='Device OEM to run on.')
|
| - group.add_argument('--remote-device-file',
|
| - help=('File with JSON to select remote device. '
|
| - 'Overrides all other flags.'))
|
| -
|
| - device_os_group = group.add_mutually_exclusive_group()
|
| - device_os_group.add_argument('--remote-device-minimum-os',
|
| - help='Minimum OS on device.')
|
| - device_os_group.add_argument('--remote-device-os', action='append',
|
| - help='OS to have on the device.')
|
|
|
| api_secret_group = group.add_mutually_exclusive_group()
|
| api_secret_group.add_argument('--api-secret', default='',
|
|
|