diff options
Diffstat (limited to 'Build/source/libs/libpng/libpng-1.6.12/tests/pngstest-error')
-rwxr-xr-x | Build/source/libs/libpng/libpng-1.6.12/tests/pngstest-error | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Build/source/libs/libpng/libpng-1.6.12/tests/pngstest-error b/Build/source/libs/libpng/libpng-1.6.12/tests/pngstest-error new file mode 100755 index 00000000000..ebf3a7b59ea --- /dev/null +++ b/Build/source/libs/libpng/libpng-1.6.12/tests/pngstest-error @@ -0,0 +1,14 @@ +#!/bin/sh +code=77 # skipped +for t in "${srcdir}/contrib/pngsuite/"x*".png" +do + if test "$t" != "${srcdir}/contrib/pngsuite/x*.png" + then + # not skipped, test it + if ./pngstest --strict --tmpfile "error" --log "$@" "$t" + then + code=0 # oops, success: should not happen! + fi + fi +done +exit $code |