[cairo] [PATCH v2 4/7] test: Make check-ref-dups utilize perceptualdiff for comparisons

Chris Wilson chris at chris-wilson.co.uk
Wed Jul 3 15:52:58 PDT 2013


On Wed, Jul 03, 2013 at 10:35:47PM +0000, Bryce W. Harrington wrote:
> The current sha1sum-based file checker does a blanket comparison of all
> files with each other, which is fast but not directly helpful since it
> doesn't distinguish between sibling files (which are allowable to be
> duplicates).  Also, it ignores files that may have byte differences
> (such as PNG header differences) but are otherwise pixel-identical.

Hmm, actually knowing the cause of differences in the PNG header will be
very useful. We try to control the PNG output very carefully from the
tests so that we can perform byte comparisons on the files during a test
run before using pixel comparisons (for speed).

Just an aside, and something else to worry about.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list