summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-06-27 13:06:23 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-27 17:19:26 +0000
commit62d5076d33ab2bbe0d70047ef98526cad427e631 (patch)
tree24687ddbca2b2c4deee92d58f390541ac1f1f19c /testing
parentc0c39cbb638dd24b07b9cdcf7e9179e88b162ad3 (diff)
downloadpdfium-62d5076d33ab2bbe0d70047ef98526cad427e631.tar.xz
Fixed file matching regex in test_runner.
It was not matching file names with characters like '-' and '&'. Also suppressed tests that are now matched by the regex and were not run. Change-Id: I70c0c8bebf4726748574a9e3ab17db64f1033a13 Reviewed-on: https://pdfium-review.googlesource.com/6835 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'testing')
-rw-r--r--testing/SUPPRESSIONS10
-rw-r--r--testing/tools/test_runner.py2
2 files changed, 11 insertions, 1 deletions
diff --git a/testing/SUPPRESSIONS b/testing/SUPPRESSIONS
index 309ab21f2c..ed35c71bd5 100644
--- a/testing/SUPPRESSIONS
+++ b/testing/SUPPRESSIONS
@@ -291,6 +291,16 @@ bug_679643.in * * noxfa
bug_679642.in * * noxfa
#
+# TODO(hnakashima): These might never have been run. Go over them and fix.
+#
+FRC_8.5_E&X.pdf * * *
+FRC_8.5_O&PO_GoToE.pdf * * *
+FRC_8.5_OpenAction&O_URI.pdf * * *
+FRC_8.5_PC&C_GoToE_T_T.pdf * * *
+FRC_8.5_PC_GoToE_T_R&P&A.pdf * * *
+FRC_8.5_PO_GoToE_T_R&N.pdf * * *
+
+#
# xfa_specific
#
Choose.pdf * * *
diff --git a/testing/tools/test_runner.py b/testing/tools/test_runner.py
index 97a2513385..81225b7de8 100644
--- a/testing/tools/test_runner.py
+++ b/testing/tools/test_runner.py
@@ -202,7 +202,7 @@ class TestRunner:
self.test_cases = []
self.execution_suppressed_cases = []
- input_file_re = re.compile('^[a-zA-Z0-9_.]+[.](in|pdf)$')
+ input_file_re = re.compile('^.+[.](in|pdf)$')
if args:
for file_name in args:
file_name.replace('.pdf', '.in')