From 5c1efd404f6f0c6bc190101fad3a9977c4e2e6d2 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 19 Jan 2016 15:05:36 -0800 Subject: Merge to XFA: Hook up show-config to testing scripts. Review URL: https://codereview.chromium.org/1607923004 . (cherry picked from commit d40e189ba1ab515ef9b3df7928e215be150df336) TBR=ochang@chromium.org Review URL: https://codereview.chromium.org/1607113002 . --- testing/tools/run_corpus_tests.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testing/tools/run_corpus_tests.py') diff --git a/testing/tools/run_corpus_tests.py b/testing/tools/run_corpus_tests.py index e2b950c363..0c44cc6972 100755 --- a/testing/tools/run_corpus_tests.py +++ b/testing/tools/run_corpus_tests.py @@ -102,7 +102,8 @@ def main(): if not os.path.exists(working_dir): os.makedirs(working_dir) - test_suppressor = suppressor.Suppressor(finder) + feature_string = subprocess.check_output([pdfium_test_path, '--show-config']) + test_suppressor = suppressor.Suppressor(finder, feature_string) image_differ = pngdiffer.PNGDiffer(finder) # test files are under .../pdfium/testing/corpus. -- cgit v1.2.3