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

Unified Diff: build/android/pylib/base_test_sharder.py

Issue 10689132: [android] Upstream / sync most of build/android and build/android/pylib. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/base_test_runner.py ('k') | build/android/pylib/buildbot_report.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/base_test_sharder.py
diff --git a/build/android/pylib/base_test_sharder.py b/build/android/pylib/base_test_sharder.py
index 3be45ea81bb27396b5c6d76427ec28a1ef2e83a0..ade44e50d1a5b98158cf51ea5c9b642d9f30ca54 100644
--- a/build/android/pylib/base_test_sharder.py
+++ b/build/android/pylib/base_test_sharder.py
@@ -6,7 +6,7 @@
import logging
import multiprocessing
-from test_result import *
+from test_result import TestResults
def _ShardedTestRunnable(test):
@@ -76,12 +76,12 @@ class BaseTestSharder(object):
logging.warning('*' * 80)
final_results = TestResults()
for retry in xrange(self.retries):
- logging.warning('Try %d of %d' % (retry + 1, self.retries))
+ logging.warning('Try %d of %d', retry + 1, self.retries)
self.SetupSharding(self.tests)
test_runners = []
for index, device in enumerate(self.attached_devices):
logging.warning('*' * 80)
- logging.warning('Creating shard %d for %s' % (index, device))
+ logging.warning('Creating shard %d for %s', index, device)
logging.warning('*' * 80)
test_runner = self.CreateShardedTestRunner(device, index)
test_runners += [test_runner]
« no previous file with comments | « build/android/pylib/base_test_runner.py ('k') | build/android/pylib/buildbot_report.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698