diff options
author | gkanwar@chromium.org <gkanwar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-14 18:09:08 +0000 |
---|---|---|
committer | gkanwar@chromium.org <gkanwar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-14 18:09:08 +0000 |
commit | 67954f82d54c9e90c8668834e75853465d3493d3 (patch) | |
tree | 3e01abab7e8aee131edb0882067cd25c19c82555 /build/android | |
parent | bf828984a28131c7531b05b7dcaece484d9212e4 (diff) | |
download | chromium_src-67954f82d54c9e90c8668834e75853465d3493d3.zip chromium_src-67954f82d54c9e90c8668834e75853465d3493d3.tar.gz chromium_src-67954f82d54c9e90c8668834e75853465d3493d3.tar.bz2 |
[Android] Changes python_test_root to host-driven-root
NOTRY=True
BUG=271802
Review URL: https://chromiumcodereview.appspot.com/22982007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217587 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/android')
-rwxr-xr-x | build/android/buildbot/bb_device_steps.py | 2 | ||||
-rwxr-xr-x | build/android/test_runner.py | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/build/android/buildbot/bb_device_steps.py b/build/android/buildbot/bb_device_steps.py index 32438ae8..1d83a96 100755 --- a/build/android/buildbot/bb_device_steps.py +++ b/build/android/buildbot/bb_device_steps.py @@ -166,7 +166,7 @@ def RunInstrumentationSuite(options, test, flunk_on_failure=True, args.append('--flakiness-dashboard-server=%s' % options.flakiness_server) if test.host_driven_root: - args.append('--python_test_root=%s' % test.host_driven_root) + args.append('--host-driven-root=%s' % test.host_driven_root) if test.annotation: args.extend(['-A', test.annotation]) if test.exclude_annotation: diff --git a/build/android/test_runner.py b/build/android/test_runner.py index 8f10b0e..4ded27e 100755 --- a/build/android/test_runner.py +++ b/build/android/test_runner.py @@ -217,7 +217,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', @@ -253,7 +254,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: @@ -521,7 +522,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: |