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

Unified Diff: build/android/pylib/gtest/dispatch.py

Issue 12378048: [Android] Switch instrumentation tests to the new shard/runner paradigm. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add retries to the end of the queue instead of the beginning Created 7 years, 10 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/browsertests/dispatch.py ('k') | build/android/pylib/gtest/test_runner.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/gtest/dispatch.py
diff --git a/build/android/pylib/gtest/dispatch.py b/build/android/pylib/gtest/dispatch.py
index e40be2bea32a79c577954b0b653fa8c8bdd57601..3195401edaa490b042d9584d1323c0656732127e 100644
--- a/build/android/pylib/gtest/dispatch.py
+++ b/build/android/pylib/gtest/dispatch.py
@@ -91,7 +91,7 @@ def GetAllEnabledTests(runner_factory, devices):
for device in devices:
try:
logging.info('Obtaining tests from %s', device)
- runner = runner_factory(device)
+ runner = runner_factory(device, 0)
return GetTestsFromDevice(runner)
except Exception as e:
logging.warning('Failed obtaining tests from %s with exception: %s',
@@ -136,7 +136,7 @@ def _RunATestSuite(options, suite_name):
raise Exception('Failed to reset test server port.')
# Constructs a new TestRunner with the current options.
- def RunnerFactory(device):
+ def RunnerFactory(device, shard_index):
return test_runner.TestRunner(
device,
options.test_suite,
« no previous file with comments | « build/android/pylib/browsertests/dispatch.py ('k') | build/android/pylib/gtest/test_runner.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698