summaryrefslogtreecommitdiff
path: root/testing/tools/run_corpus_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tools/run_corpus_tests.py')
-rwxr-xr-xtesting/tools/run_corpus_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/tools/run_corpus_tests.py b/testing/tools/run_corpus_tests.py
index d56cb1c238..05be76ef37 100755
--- a/testing/tools/run_corpus_tests.py
+++ b/testing/tools/run_corpus_tests.py
@@ -87,7 +87,8 @@ def main():
os.makedirs(working_dir)
with open(os.path.join(testing_dir, 'SUPPRESSIONS')) as f:
- suppression_list = [x.strip() for x in f.readlines()]
+ suppression_list = [y for y in [
+ x.split('#')[0].strip() for x in f.readlines()] if y]
# test files are under .../pdfium/testing/corpus.
failures = []