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

Unified Diff: tools/run_swarm_tests_on_swarm.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 | « tools/isolateserver_load_test.py ('k') | utils/threading_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/run_swarm_tests_on_swarm.py
diff --git a/tools/run_swarm_tests_on_swarm.py b/tools/run_swarm_tests_on_swarm.py
index 4e3132fd84e0d46a9917dcb49b990bc78a2b68c2..fb73ea5c38cebc9034cde1745cf1929df8c406cf 100755
--- a/tools/run_swarm_tests_on_swarm.py
+++ b/tools/run_swarm_tests_on_swarm.py
@@ -140,7 +140,8 @@ class Runner(object):
def run_swarm_tests_on_swarm(oses, tests, logs, isolate_server, swarm_server):
runs = len(tests) * len(oses)
total = 3 * runs
- progress = threading_utils.Progress(total)
+ columns = [('index', 0), ('size', total)]
+ progress = threading_utils.Progress(columns)
progress.use_cr_only = False
tempdir = tempfile.mkdtemp(prefix='swarm_client_tests')
try:
« no previous file with comments | « tools/isolateserver_load_test.py ('k') | utils/threading_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698