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

Unified Diff: build/android/test_runner.py

Issue 1874603002: [Android] Remove host-driven test framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update chrome/android/java_sources.gni Created 4 years, 8 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/host_driven/tests_annotations.py ('k') | build/android/test_runner.pydeps » ('j') | 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 390babab099279866cb550f9456a5bad75337dfd..20f1d747c18822dc09d8bd9b3f2892b99416c5ed 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -36,7 +36,6 @@ from pylib.base import test_dispatcher
from pylib.base import test_instance_factory
from pylib.base import test_run_factory
from pylib.linker import setup as linker_setup
-from pylib.host_driven import setup as host_driven_setup
from pylib.instrumentation import setup as instrumentation_setup
from pylib.instrumentation import test_options as instrumentation_test_options
from pylib.junit import setup as junit_setup
@@ -394,10 +393,10 @@ def AddInstrumentationTestOptions(parser):
java_or_python_group.add_argument(
'-p', '--python-only', action='store_false',
dest='run_java_tests', default=True,
- help='Run only the host-driven tests.')
+ help='DEPRECATED')
group.add_argument('--host-driven-root',
- help='Root of the host-driven tests.')
+ help='DEPRECATED')
group.add_argument('-w', '--wait_debugger', dest='wait_for_debugger',
action='store_true',
help='Wait for debugger.')
@@ -764,13 +763,8 @@ def _RunInstrumentationTests(args, devices):
java_runner_factory = None
java_tests = None
- if args.run_python_tests:
- py_runner_factory, py_tests = host_driven_setup.InstrumentationSetup(
- args.host_driven_root, args.official_build,
- instrumentation_options)
- else:
- py_runner_factory = None
- py_tests = None
+ py_runner_factory = None
+ py_tests = None
results = []
repetitions = (xrange(args.repeat + 1) if args.repeat >= 0
« no previous file with comments | « build/android/pylib/host_driven/tests_annotations.py ('k') | build/android/test_runner.pydeps » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698