summaryrefslogtreecommitdiff
path: root/testing/tools/run_corpus_tests.py
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-04 12:52:42 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-04 12:52:43 -0700
commit10b01bf44695ce9a354660b16f607da70727a846 (patch)
tree722ab90129af298e6567bcf99eefaa45d5187ad2 /testing/tools/run_corpus_tests.py
parentab522f9e05291d6d915a40174e3cb5f7509c449b (diff)
downloadpdfium-10b01bf44695ce9a354660b16f607da70727a846.tar.xz
Fix event sending in pdfium_test.
Passing bad args in pdfium_test -- all void* pointers look alike. Make output less verbose while we're here. Turn on event sending mode for corups tests. No effect until .evt files added to corpus. Review-Url: https://codereview.chromium.org/1946873004
Diffstat (limited to 'testing/tools/run_corpus_tests.py')
-rwxr-xr-xtesting/tools/run_corpus_tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/testing/tools/run_corpus_tests.py b/testing/tools/run_corpus_tests.py
index 2c3c191c88..41d3c12a3b 100755
--- a/testing/tools/run_corpus_tests.py
+++ b/testing/tools/run_corpus_tests.py
@@ -42,8 +42,7 @@ def test_one_file(input_filename, source_dir, working_dir,
# remove .pdf suffix
cmd_to_run = common.DrMemoryWrapper(drmem_wrapper,
os.path.splitext(input_filename)[0])
- cmd_to_run.extend([pdfium_test_path, '--png', pdf_path])
- # run test
+ cmd_to_run.extend([pdfium_test_path, '--send-events', '--png', pdf_path])
error = common.RunCommand(cmd_to_run)
if error:
print "FAILURE: " + input_filename + "; " + str(error)