summaryrefslogtreecommitdiff
path: root/testing/tools/test_runner.py
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/tools/test_runner.py
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/tools/test_runner.py')
-rw-r--r--testing/tools/test_runner.py2
1 files changed, 1 insertions, 1 deletions
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')