]> git.saurik.com Git - wxWidgets.git/blobdiff - src/png/tests/pngstest-error
Merge libpng 1.6.2 into the trunk.
[wxWidgets.git] / src / png / tests / pngstest-error
diff --git a/src/png/tests/pngstest-error b/src/png/tests/pngstest-error
new file mode 100755 (executable)
index 0000000..ebf3a7b
--- /dev/null
@@ -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