diff options
author | Bryce W. Harrington <b.harrington@samsung.com> | 2013-07-03 22:37:41 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-07-04 09:27:56 +0100 |
commit | 33895904d52f47d0d89156ca1e1ff7cc8f5887d2 (patch) | |
tree | 21fbda58a9236ae86c3929ecacaea38cdb530f49 /test/check-refs.sh | |
parent | 5577223489dc3f6e282c498d70f66f8ee9327474 (diff) | |
download | cairo-33895904d52f47d0d89156ca1e1ff7cc8f5887d2.tar.gz |
test: Add special cases for create-from-png and fallback-resolution
These tests use reference images somewhat differently from other tests,
so treat them as special cases and avoid recommending deleting any of
their files.
Add TODO's to each test to rework them to be more consistent with other
tests.
Signed-off-by: Bryce Harrington <b.harrington@samsung.com>
Diffstat (limited to 'test/check-refs.sh')
-rwxr-xr-x | test/check-refs.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/check-refs.sh b/test/check-refs.sh index 2f558cb03..b9b1031b6 100755 --- a/test/check-refs.sh +++ b/test/check-refs.sh @@ -46,6 +46,16 @@ for file in *.ref.png; do fi fi + # Special cases + if [ $test = "create-from-png" ]; then + # The create-from-png test utilizes multiple reference images directly + continue + elif [ $test = "fallback-resolution" ]; then + # The fallback-resolution test generates a set of reference images; + # These won't be redundant with one another, but just ignore them all. + continue + fi + if [ -e $ref ]; then if cmp --silent "$ref" "$file" ; then printf "redundant: %s and %s are byte-by-byte identical files\n" $file $ref |