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

Unified Diff: tools/sharding_supervisor/sharding_supervisor.py

Issue 24059002: Add option to specify number of jobs in sharding supervisor. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/sharding_supervisor/sharding_supervisor.py
===================================================================
--- tools/sharding_supervisor/sharding_supervisor.py (revision 212017)
+++ tools/sharding_supervisor/sharding_supervisor.py (working copy)
@@ -37,6 +37,13 @@
rest.append(arg)
else:
rest.append(arg)
+
+ # Use --jobs arg if exist.
+ for arg in args:
+ if arg.startswith('--jobs='):
+ run_test_cases_extra_args.append(arg)
+ break
+
return run_test_cases_extra_args, rest
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698