[cairo] [PATCH 3/7] test: Use cmp to catch byte-by-byte identical files

Chris Wilson chris at chris-wilson.co.uk
Tue Jul 2 15:42:52 PDT 2013


On Tue, Jul 02, 2013 at 10:20:41PM +0000, Bryce W. Harrington wrote:
> cmp runs faster than perceptualdiff, and catches files that are exact
> copies of the reference image.  We still use perceptualdiff for catching
> files that aren't bytewise identical, but are still identical at the
> pixel level.

Don't call the output of pdiff as being binary identical images,
use visually indistinguishable instead (or somesuch).
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the cairo mailing list