summaryrefslogtreecommitdiff
path: root/Build/source/libs/libpng/libpng-1.6.10/tests/pngstest-error
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-03-15 13:30:37 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-03-15 13:30:37 +0000
commit8dbe4b451fb55cabfd1f42b4df30e13069aa6e75 (patch)
treef4fef2d617171d4dd46c13a795db17967baf6528 /Build/source/libs/libpng/libpng-1.6.10/tests/pngstest-error
parenta22d9897afbabdd07f13d2bc5c7c5b9c5865ab53 (diff)
libpng 1.6.10
git-svn-id: svn://tug.org/texlive/trunk@33181 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/libpng/libpng-1.6.10/tests/pngstest-error')
-rwxr-xr-xBuild/source/libs/libpng/libpng-1.6.10/tests/pngstest-error14
1 files changed, 14 insertions, 0 deletions
diff --git a/Build/source/libs/libpng/libpng-1.6.10/tests/pngstest-error b/Build/source/libs/libpng/libpng-1.6.10/tests/pngstest-error
new file mode 100755
index 00000000000..ebf3a7b59ea
--- /dev/null
+++ b/Build/source/libs/libpng/libpng-1.6.10/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