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

Unified Diff: build/android/test_runner.py

Issue 1843713002: Revert of [Android] Switch instrumentation tests to platform mode. (RELAND) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/local/device/local_device_instrumentation_test_run.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 e55f8c0cdb3651aac177fe9f21a0c2bcd9477993..eed5c4d18806d728e69e28983704d5414b314241 100755
--- a/build/android/test_runner.py
+++ b/build/android/test_runner.py
@@ -977,7 +977,7 @@
ProcessCommonOptions(args)
logging.info('command: %s', ' '.join(sys.argv))
- if args.enable_platform_mode or command in ('gtest', 'instrumentation'):
+ if args.enable_platform_mode:
return RunTestsInPlatformMode(args)
forwarder.Forwarder.RemoveHostLog()
@@ -988,8 +988,12 @@
return _GetAttachedDevices(args.blacklist_file, args.test_device,
args.enable_device_cache)
- if command == 'linker':
+ if command == 'gtest':
+ return RunTestsInPlatformMode(args)
+ elif command == 'linker':
return _RunLinkerTests(args, get_devices())
+ elif command == 'instrumentation':
+ return _RunInstrumentationTests(args, get_devices())
elif command == 'junit':
return _RunJUnitTests(args)
elif command == 'monkey':
« no previous file with comments | « build/android/pylib/local/device/local_device_instrumentation_test_run.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698