summaryrefslogtreecommitdiff
path: root/tools/drmemory/scripts/pdfium_tests.py
diff options
context:
space:
mode:
authorochang <ochang@chromium.org>2016-04-13 12:32:55 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-13 12:32:55 -0700
commitf063abf4d50ab466080714df584660854ceb8709 (patch)
treedede62c266a4e9ac4dd9a034bf4c8f7035e3ef9e /tools/drmemory/scripts/pdfium_tests.py
parent380f20a6000bd640d7fd8f1567961f1f05d79f5a (diff)
downloadpdfium-f063abf4d50ab466080714df584660854ceb8709.tar.xz
DrMemory: Pass -j1 to pixel and javascript tests
R=dsinclair@chromium.org,zhaoqin@chromium.org Review URL: https://codereview.chromium.org/1890593002
Diffstat (limited to 'tools/drmemory/scripts/pdfium_tests.py')
-rw-r--r--tools/drmemory/scripts/pdfium_tests.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/drmemory/scripts/pdfium_tests.py b/tools/drmemory/scripts/pdfium_tests.py
index de0ce9cea2..5a89d9491b 100644
--- a/tools/drmemory/scripts/pdfium_tests.py
+++ b/tools/drmemory/scripts/pdfium_tests.py
@@ -297,10 +297,8 @@ class ChromeTests:
if self._options.build_dir:
script_cmd.extend(["--build-dir", self._options.build_dir])
# TODO(zhaoqin): it only runs in single process mode now,
- # need figure out why it does not work with test_one_file_parallel
- # in run_corpus_tests.py.
- if script_name == "run_corpus_tests.py":
- script_cmd.extend(["-j", "1"])
+ # need figure out why it does not work with test_one_file_parallel.
+ script_cmd.extend(["-j", "1"])
# Now run script_cmd with the wrapper in cmd
cmd.append("--")
cmd.extend(script_cmd)