From d7725bb53c7593c42579a28dd5947a8b8e13949f Mon Sep 17 00:00:00 2001 From: tsepez Date: Wed, 4 May 2016 16:20:35 -0700 Subject: 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 --- testing/tools/run_corpus_tests.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'testing') 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 -- cgit v1.2.3