summaryrefslogtreecommitdiff
path: root/testing/tools/run_corpus_tests.py
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-06-27 09:48:24 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-06-27 14:47:12 +0000
commit3bcabf323f096156545d279c6381317fbc7fbd5a (patch)
treeb74e10a273dfe7f44914de4a816a9389100f364c /testing/tools/run_corpus_tests.py
parentd261b065d09046bbcc6594e48220cff44a371732 (diff)
downloadpdfium-3bcabf323f096156545d279c6381317fbc7fbd5a.tar.xz
Fail pixel tests when they do not provide the expected image.
Also showing stats on number of failures, successes, suppressions, etc. Change-Id: Id12faf504ea8d6b1c343d7a8b412d03dc787ca3a Reviewed-on: https://pdfium-review.googlesource.com/6834 Commit-Queue: Henrique Nakashima <hnakashima@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'testing/tools/run_corpus_tests.py')
-rwxr-xr-xtesting/tools/run_corpus_tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/tools/run_corpus_tests.py b/testing/tools/run_corpus_tests.py
index 4942406579..5932685f32 100755
--- a/testing/tools/run_corpus_tests.py
+++ b/testing/tools/run_corpus_tests.py
@@ -9,6 +9,7 @@ import test_runner
def main():
runner = test_runner.TestRunner('corpus')
+ runner.SetEnforceExpectedImages(True)
return runner.Run()
if __name__ == '__main__':