DescriptionGold support in PDFium
Extends the PDFium tests to collect images and meta data to be uploaded
to Gold. This feature is triggered by adding the --gold_* flags.
It extends pdfium_test to output the MD5 hash of the underlying pixel
buffer for each page it renders.
That output is then processed by test_runner.py to generate the
gold meta data.
This behavior is modeled after the 'dm' tool in skia. See
https://skia.googlesource.com/skia/+/master/dm/DM.cpp#1090
This should not cause any change in the current behavior of the tests,
it will be trigger once we update the buildbot recipe.
BUG=skia:5973
Review-Url: https://codereview.chromium.org/2578893004
Committed: https://pdfium.googlesource.com/pdfium/+/fa05e97fc4d796bd12e21c32634d9614f8edf607
Patch Set 1 #Patch Set 2 #Patch Set 3 #Patch Set 4 #Patch Set 5 #Patch Set 6 : WIP #Patch Set 7 : Cleanup #Patch Set 8 : Cleanup and added to DEPS #
Total comments: 4
Patch Set 9 : Added flags to pdfium_test #Patch Set 10 : Fixed formatting error #
Total comments: 16
Patch Set 11 : Incorporated feedback #Patch Set 12 : Incorporated feedback #
Messages
Total messages: 32 (23 generated)
|