diff options
author | tsepez <tsepez@chromium.org> | 2016-05-04 16:20:35 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-04 16:20:35 -0700 |
commit | d7725bb53c7593c42579a28dd5947a8b8e13949f (patch) | |
tree | ca0efe734dd1de39057e7991d0f8d94757e54aa6 /testing/tools | |
parent | 55fa356c8ce72c597e75fc591fc67597b1c019d5 (diff) | |
download | pdfium-d7725bb53c7593c42579a28dd5947a8b8e13949f.tar.xz |
Copy the event definition file to the testing directory along with pdf
data_binding.pdf is much closer now that events are sent.
It still diffs due to some bg color issues, not that the
box is unchecked.
Review-Url: https://codereview.chromium.org/1952823002
Diffstat (limited to 'testing/tools')
-rwxr-xr-x | testing/tools/run_corpus_tests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/tools/run_corpus_tests.py b/testing/tools/run_corpus_tests.py index 41d3c12a3b..21ebd1968d 100755 --- a/testing/tools/run_corpus_tests.py +++ b/testing/tools/run_corpus_tests.py @@ -37,6 +37,11 @@ def test_one_file(input_filename, source_dir, working_dir, os.remove(image) shutil.copyfile(input_path, pdf_path) + input_event_path = os.path.splitext(input_path)[0] + ".evt" + output_event_path = os.path.splitext(pdf_path)[0] + ".evt" + if os.path.exists(input_event_path): + shutil.copyfile(input_event_path, output_event_path) + sys.stdout.flush() # add Dr. Memory wrapper if exist # remove .pdf suffix |