summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--DEPS2
-rwxr-xr-xtesting/tools/run_corpus_tests.py5
2 files changed, 6 insertions, 1 deletions
diff --git a/DEPS b/DEPS
index 146b6eb73d..32ae5ed5df 100644
--- a/DEPS
+++ b/DEPS
@@ -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