summaryrefslogtreecommitdiff
path: root/Build/source/libs/libpng/libpng-1.6.1/tests/pngstest-error
blob: ebf3a7b59ea8e9b7218ed7f360c5ad43febabcb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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