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/tools/test_runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/tools/test_runner.py') 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