Imported Upstream version 1.6.13
[platform/upstream/libpng.git] / tests / pngstest-error
1 #!/bin/sh
2 code=77 # skipped
3 for t in "${srcdir}/contrib/pngsuite/"x*".png"
4 do
5    if test "$t" != "${srcdir}/contrib/pngsuite/x*.png"
6    then
7       # not skipped, test it
8       if ./pngstest --strict --tmpfile "error" --log "$@" "$t"
9       then
10          code=0 # oops, success: should not happen!
11       fi
12    fi
13 done
14 exit $code