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

Unified Diff: build/android/test_runner.py

Issue 840393003: Add support for ios_uirobot (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 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
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='',

Powered by Google App Engine
This is Rietveld 408576698