summaryrefslogtreecommitdiff
path: root/test/check-refs.sh
diff options
context:
space:
mode:
authorBryce W. Harrington <b.harrington@samsung.com>2013-07-03 22:37:41 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-07-04 09:27:56 +0100
commit33895904d52f47d0d89156ca1e1ff7cc8f5887d2 (patch)
tree21fbda58a9236ae86c3929ecacaea38cdb530f49 /test/check-refs.sh
parent5577223489dc3f6e282c498d70f66f8ee9327474 (diff)
downloadcairo-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-xtest/check-refs.sh10
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