[libpng16] Enabled parallel tests - back ported from libpng-1.7.

This commit is contained in:
John Bowler
2013-02-16 00:01:02 -06:00
committed by Glenn Randers-Pehrson
parent 0695fcd834
commit b724c812ec
60 changed files with 206 additions and 177 deletions

14
tests/pngstest-error Executable file
View File

@@ -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