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 | |
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
-rw-r--r-- | DEPS | 2 | ||||
-rwxr-xr-x | testing/tools/run_corpus_tests.py | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -12,7 +12,7 @@ vars = { 'gmock_revision': '29763965ab52f24565299976b936d1265cb6a271', 'gtest_revision': '8245545b6dc9c4703e6496d1efd19e975ad2b038', 'icu_revision': 'c291cde264469b20ca969ce8832088acb21e0c48', - 'pdfium_tests_revision': '7e5050a49256a7350df9b8d7ad86e911eb83c021', + 'pdfium_tests_revision': '6c769320872e6ca82da4adaec1a497237f71b543', 'skia_revision': '6f47dbaff54a7705ef3e98f1f65c765e56fd9bd0', 'trace_event_revision': 'd83d44b13d07c2fd0a40101a7deef9b93b841732', 'v8_revision': '5cd0d8f27e3f740179a8a3de7b9d2c0cfae7afb9', 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 |