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

Unified Diff: googletest/trace_test_cases.py

Issue 25478010: Add ThreadPool.abort() to stop processing early. (Closed) Base URL: https://chromium.googlesource.com/a/chromium/tools/swarm_client@master
Patch Set: Add TODO Created 7 years, 2 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 | « googletest/run_test_cases.py ('k') | tests/threading_utils_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: googletest/trace_test_cases.py
diff --git a/googletest/trace_test_cases.py b/googletest/trace_test_cases.py
index 05ed245d5dab128418acc1770f403969c4dcf573..1808479198596e7fc42109000d0b656079cb5b47 100755
--- a/googletest/trace_test_cases.py
+++ b/googletest/trace_test_cases.py
@@ -67,9 +67,9 @@ class Tracer(object):
'Tracing %s done: %d, %.1fs' % (test_case, returncode, duration))
if retry:
self.progress.update_item(
- '%s - %d' % (test_case, retry), index=True, size=not valid)
+ '%s - %d' % (test_case, retry), index=1, size=int(not valid))
else:
- self.progress.update_item(test_case, index=True, size=not valid)
+ self.progress.update_item(test_case, index=1, size=int(not valid))
if valid:
break
return out
« no previous file with comments | « googletest/run_test_cases.py ('k') | tests/threading_utils_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698