summaryrefslogtreecommitdiff
path: root/testing/tools/run_pixel_tests.py
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-01-19 14:54:59 -0800
committerTom Sepez <tsepez@chromium.org>2016-01-19 14:54:59 -0800
commitd40e189ba1ab515ef9b3df7928e215be150df336 (patch)
tree27736f915341dc414617f995913a7f70ae245cbf /testing/tools/run_pixel_tests.py
parenta41312c3237c4262ffbc2fa4375e4cbf59008f9a (diff)
downloadpdfium-d40e189ba1ab515ef9b3df7928e215be150df336.tar.xz
Hook up show-config to testing scripts.
R=ochang@chromium.org Review URL: https://codereview.chromium.org/1607923004 .
Diffstat (limited to 'testing/tools/run_pixel_tests.py')
-rwxr-xr-xtesting/tools/run_pixel_tests.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/tools/run_pixel_tests.py b/testing/tools/run_pixel_tests.py
index 8d838402f9..8a102f4c42 100755
--- a/testing/tools/run_pixel_tests.py
+++ b/testing/tools/run_pixel_tests.py
@@ -70,7 +70,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)
input_files = []