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

Unified Diff: build/android/pylib/base/test_dispatcher.py

Issue 1376483002: [Android] Add --repeat for gtests and instrumentation tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 | « no previous file | build/android/pylib/results/json_results.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/base/test_dispatcher.py
diff --git a/build/android/pylib/base/test_dispatcher.py b/build/android/pylib/base/test_dispatcher.py
index 797f55c4c3885932215730d826f474f2279fab6f..8152beadcd9297d4b40d15fa09c04b7ee2b51552 100644
--- a/build/android/pylib/base/test_dispatcher.py
+++ b/build/android/pylib/base/test_dispatcher.py
@@ -171,7 +171,8 @@ def _RunAllTests(runners, test_collection_factory, num_retries, timeout=None,
Returns:
A tuple of (TestRunResults object, exit code)
"""
- logging.warning('Running tests with %s test runners.', len(runners))
+ logging.warning('Running tests with %s test %s.',
+ len(runners), 'runners' if len(runners) != 1 else 'runner')
results = []
exit_code = 0
run_results = base_test_result.TestRunResults()
@@ -226,7 +227,8 @@ def _CreateRunners(runner_factory, devices, timeout=None):
Returns:
A list of TestRunner objects.
"""
- logging.warning('Creating %s test runners.', len(devices))
+ logging.warning('Creating %s test %s.', len(devices),
+ 'runners' if len(devices) != 1 else 'runner')
runners = []
counter = _ThreadSafeCounter()
threads = reraiser_thread.ReraiserThreadGroup(
« no previous file with comments | « no previous file | build/android/pylib/results/json_results.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698