summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rwxr-xr-xtesting/tools/run_javascript_tests.py3
-rwxr-xr-xtesting/tools/run_pixel_tests.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/testing/tools/run_javascript_tests.py b/testing/tools/run_javascript_tests.py
index b09ea49e78..4e066a1c97 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 (currently ignored)')
parser.add_option('--wrapper', default='', dest="wrapper",
help='Dr. Memory wrapper for running test under Dr. Memory')
options, args = parser.parse_args()
diff --git a/testing/tools/run_pixel_tests.py b/testing/tools/run_pixel_tests.py
index 8a102f4c42..e2066e4811 100755
--- a/testing/tools/run_pixel_tests.py
+++ b/testing/tools/run_pixel_tests.py
@@ -55,6 +55,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 (currently ignored)')
parser.add_option('--wrapper', default='', dest="wrapper",
help='Dr. Memory wrapper for running test under Dr. Memory')
options, args = parser.parse_args()