summaryrefslogtreecommitdiffstats
path: root/build/android
diff options
context:
space:
mode:
authorboliu <boliu@chromium.org>2015-02-27 19:45:54 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-28 03:46:32 +0000
commit4fb936475e23d7acb7e286c08f8417b1803e4ba8 (patch)
tree8837dc77a6dbce00c5640cc22e49306dd683695b /build/android
parent65b9392697befefd009dbe73d75dfe66894d814c (diff)
downloadchromium_src-4fb936475e23d7acb7e286c08f8417b1803e4ba8.zip
chromium_src-4fb936475e23d7acb7e286c08f8417b1803e4ba8.tar.gz
chromium_src-4fb936475e23d7acb7e286c08f8417b1803e4ba8.tar.bz2
Print test that is being retried
It's sometimes hard to tell which test is being retried because tests are usually run in parallel among many devices. So just print the name of test of device to make debugging easier. BUG= Review URL: https://codereview.chromium.org/965803005 Cr-Commit-Position: refs/heads/master@{#318590}
Diffstat (limited to 'build/android')
-rw-r--r--build/android/pylib/base/test_dispatcher.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/android/pylib/base/test_dispatcher.py b/build/android/pylib/base/test_dispatcher.py
index 929c408..1a8e0c1 100644
--- a/build/android/pylib/base/test_dispatcher.py
+++ b/build/android/pylib/base/test_dispatcher.py
@@ -116,7 +116,7 @@ def _RunTestsFromQueue(runner, collection, out_results, watcher,
pass_results = base_test_result.TestRunResults()
pass_results.AddResults(result.GetPass())
out_results.append(pass_results)
- logging.warning('Will retry test, try #%s.' % test.tries)
+ logging.warning('Will retry test %s, try #%s.', retry, test.tries)
collection.add(_Test(test=retry, tries=test.tries))
else:
# All tests passed or retry limit reached. Either way, record results.