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

Unified Diff: googletest/trace_test_cases.py

Issue 25478012: Make Progress support an arbitrary number of columns. (Closed) Base URL: https://chromium.googlesource.com/a/chromium/tools/swarm_client@1_progress
Patch Set: Kept Progress.start public 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') | tools/isolateserver_load_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 1808479198596e7fc42109000d0b656079cb5b47..e9f8a7de70ddad0f8e9ada883c5b4512dedbba56 100755
--- a/googletest/trace_test_cases.py
+++ b/googletest/trace_test_cases.py
@@ -100,7 +100,8 @@ def trace_test_cases(cmd, cwd_dir, test_cases, jobs, logname):
jobs = min(options.jobs, jobs)
break
- progress = threading_utils.Progress(len(test_cases))
+ columns = [('index', 0), ('size', len(test_cases))]
+ progress = threading_utils.Progress(columns)
with threading_utils.ThreadPoolWithProgress(
progress, jobs, jobs, len(test_cases)) as pool:
with api.get_tracer(logname) as tracer:
« no previous file with comments | « googletest/run_test_cases.py ('k') | tools/isolateserver_load_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698