Index: testing/tools/run_javascript_tests.py |
diff --git a/testing/tools/run_javascript_tests.py b/testing/tools/run_javascript_tests.py |
index b09ea49e788e19f699a10373305d6787ea6b2e9a..9daeb731b90424212ac2b2f0c045ab480b9b6caf 100755 |
--- a/testing/tools/run_javascript_tests.py |
+++ b/testing/tools/run_javascript_tests.py |
@@ -46,6 +46,9 @@ def main(): |
parser = optparse.OptionParser() |
parser.add_option('--build-dir', default=os.path.join('out', 'Debug'), |
help='relative path from the base source directory') |
+ parser.add_option('-j', default=1, |
+ dest='num_workers', type='int', |
+ help='run NUM_WORKERS jobs in parallel') |
Tom Sepez
2016/04/13 17:52:43
nit: add "(currently ignored)" to the help text.
dsinclair
2016/04/13 17:56:08
Done.
|
parser.add_option('--wrapper', default='', dest="wrapper", |
help='Dr. Memory wrapper for running test under Dr. Memory') |
options, args = parser.parse_args() |