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

Unified Diff: build/android/test_runner.py

Issue 22982007: [Android] Changes python_test_root to host-driven-root (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 4 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/buildbot/bb_device_steps.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 acee213847d93829e987b227238c3bd388f4e2d5..4e81ca2f5a83fc33d30791196e7efb529ab2c3f7 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -214,7 +214,8 @@ def AddInstrumentationTestOptions(option_parser):
option_parser.add_option('-p', '--python_only', action='store_true',
default=False,
help='Run only the host-driven tests.')
- option_parser.add_option('--python_test_root',
+ option_parser.add_option('--python_test_root', '--host-driven-root',
+ dest='host_driven_root',
help='Root of the host-driven tests.')
option_parser.add_option('-w', '--wait_debugger', dest='wait_for_debugger',
action='store_true',
@@ -250,7 +251,7 @@ def ProcessInstrumentationOptions(options, error_func):
elif options.python_only:
options.run_java_tests = False
- if not options.python_test_root:
+ if not options.host_driven_root:
options.run_python_tests = False
if not options.test_apk:
@@ -482,7 +483,7 @@ def _RunInstrumentationTests(options, error_func):
if options.run_python_tests:
runner_factory, tests = host_driven_setup.InstrumentationSetup(
- options.python_test_root, options.official_build,
+ options.host_driven_root, options.official_build,
instrumentation_options)
if tests:
« no previous file with comments | « build/android/buildbot/bb_device_steps.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698