From 62d5076d33ab2bbe0d70047ef98526cad427e631 Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Tue, 27 Jun 2017 13:06:23 -0400 Subject: 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 Reviewed-by: dsinclair --- testing/SUPPRESSIONS | 10 ++++++++++ testing/tools/test_runner.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'testing') diff --git a/testing/SUPPRESSIONS b/testing/SUPPRESSIONS index 309ab21f2c..ed35c71bd5 100644 --- a/testing/SUPPRESSIONS +++ b/testing/SUPPRESSIONS @@ -290,6 +290,16 @@ bug_492.in * nov8 * 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 # 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') -- cgit v1.2.3