pngstest-error 327 字节
Newer Older
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