diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-13 11:09:33 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-13 11:09:33 -0700 |
commit | a654f0d0889c50d0995bd873c119ae75b0ab5a09 (patch) | |
tree | 130269269b939b1849996f82513f1f6148fe160b | |
parent | 08153b16fb1c7e9849cc33f1b9d4f1521240d18e (diff) | |
download | pdfium-a654f0d0889c50d0995bd873c119ae75b0ab5a09.tar.xz |
Add dummy -j flags to pixel and javascript test runners
This is an intermediate step to creating a unified test
runner. We need to update Dr Memory to pass the -j 1 flag
to the pixel and javascript tests. In order to do so, we
need to have the flag available.
The flag will be enabled for pixel and javascript tests
when [1] lands.
1- https://codereview.chromium.org/1886753002/
Review URL: https://codereview.chromium.org/1882143005
-rwxr-xr-x | testing/tools/run_javascript_tests.py | 3 | ||||
-rwxr-xr-x | testing/tools/run_pixel_tests.py | 3 |
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() |