Chromium Code Reviews| Index: build/android/test_runner.py |
| diff --git a/build/android/test_runner.py b/build/android/test_runner.py |
| index 4164bd8bb0079c3a947cffe2e7081ea927dabe85..f47977c54faed84f3c7698058702576a2e718169 100755 |
| --- a/build/android/test_runner.py |
| +++ b/build/android/test_runner.py |
| @@ -101,7 +101,9 @@ def AddCommonOptions(parser): |
| group.add_argument('--json-results-file', dest='json_results_file', |
| help='If set, will dump results in JSON form ' |
| 'to specified file.') |
| - |
| + group.add_argument('--device-type', default='Android', |
|
jbudorick
2015/01/22 20:34:50
Let's start this in the remote device options for
rnephew (Wrong account)
2015/01/22 21:59:42
Done.
|
| + choices=constants.VALID_DEVICE_TYPES, |
| + help=('Type of device to run on. iOS or android')) |
| def ProcessCommonOptions(args): |
| """Processes and handles all common options.""" |
| @@ -140,10 +142,8 @@ def AddRemoteDeviceOptions(parser): |
| 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', default='', |
| - help='Package name of test.') |
| - group.add_argument('--app-under-test', default='', |
| - help='APK to run tests on.') |
| + group.add_argument('--runner-package', help='Package name of test.') |
| + group.add_argument('--app-under-test', help='APK to run tests on.') |
| api_secret_group = group.add_mutually_exclusive_group() |
| api_secret_group.add_argument('--api-secret', default='', |