Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(418)

Unified Diff: testing/tools/run_corpus_tests.py

Issue 1894083003: Exclude XFA-only corpus from non-xfa and roll corpus (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Suppress diffing tests without thinking about it. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: testing/tools/run_corpus_tests.py
diff --git a/testing/tools/run_corpus_tests.py b/testing/tools/run_corpus_tests.py
index 0c44cc697298d58a4a1a24bde042354a8b19d3a3..6612ee77be63ae9b1b3982f78d3268419028d1e1 100755
--- a/testing/tools/run_corpus_tests.py
+++ b/testing/tools/run_corpus_tests.py
@@ -127,8 +127,9 @@ def main():
for input_filename in filename_list:
if input_file_re.match(input_filename):
input_path = os.path.join(source_dir, input_filename)
- if os.path.isfile(input_path):
- test_cases.append((input_filename, source_dir))
+ if not test_suppressor.IsExecutionSuppressed(input_path):
+ if os.path.isfile(input_path):
+ test_cases.append((input_filename, source_dir))
if options.num_workers > 1 and len(test_cases) > 1:
try:
« no previous file with comments | « testing/SUPPRESSIONS ('k') | testing/tools/suppressor.py » ('j') | testing/tools/suppressor.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698