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

Unified Diff: build/android/test_runner.py

Issue 2743033002: [android] Add support for providing flags to instrumentation tests directly. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « build/android/pylib/instrumentation/instrumentation_test_instance_test.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/test_runner.py
diff --git a/build/android/test_runner.py b/build/android/test_runner.py
index 99711722442a312ce6ce0a519f62a3275c0f5bf1..c97617895865821aa66db60627a3e52cfcbc6509 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -366,10 +366,11 @@ def AddInstrumentationTestOptions(parser):
group.add_argument('--coverage-dir', type=os.path.realpath,
help=('Directory in which to place all generated '
'EMMA coverage files.'))
- group.add_argument('--device-flags', dest='device_flags',
+ group.add_argument('--device-flags',
+ '--test-arguments',
mikecase (-- gone --) 2017/03/10 18:08:03 Why are we adding another alias for this? also, -
jbudorick 2017/03/10 18:11:17 --test-arguments is what it is for gtests, hence t
jam 2017/03/10 19:20:58 As a non-Android developer, having to specify comm
jbudorick 2017/03/10 19:38:44 hmm, we might be able to pass arguments that the t
+ dest='device_flags',
type=os.path.realpath,
- help='The relative filepath to a file containing '
- 'command-line flags to set on the device')
+ help='Command-line flags to set on the device')
shenghuazhang 2017/03/10 19:04:57 Since this is matching the argument in gtest, and
group.add_argument('--device-flags-file', type=os.path.realpath,
help='The relative filepath to a file containing '
'command-line flags to set on the device')
« no previous file with comments | « build/android/pylib/instrumentation/instrumentation_test_instance_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698