summaryrefslogtreecommitdiff
path: root/testing/tools/run_corpus_tests.py
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-18 16:43:41 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-18 21:20:38 +0000
commitaeadad1dfb7e4d3582d63dacd2ecbed71a5dd4ec (patch)
treedf7c1d038a1843585ac5956829d31c5c4fc9bc74 /testing/tools/run_corpus_tests.py
parent7d0af80637afbc673e4bc9a34bcb556afdf3434d (diff)
downloadpdfium-aeadad1dfb7e4d3582d63dacd2ecbed71a5dd4ec.tar.xz
Make progressive renderer default for pdfium_test.
When Chrome renders PDF pages it uses the progressive renderer. The one shot renderer is used to render print preview pages. This CL changes pdfium_test to use the progressive renderer by default to better match Chrome. This also adds a --render-oneshot flag which will use the non-progressive renderer. Bug: chromium:736695 Change-Id: If79333ae10a0ed1c9bce1290caad8d531e6709aa Reviewed-on: https://pdfium-review.googlesource.com/8130 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: 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 5932685f32..1175de497c 100755
--- a/testing/tools/run_corpus_tests.py
+++ b/testing/tools/run_corpus_tests.py
@@ -10,6 +10,7 @@ import test_runner
def main():
runner = test_runner.TestRunner('corpus')
runner.SetEnforceExpectedImages(True)
+ runner.SetOneShotRenderer(True)
return runner.Run()
if __name__ == '__main__':