src/third-party/libpng/tests/pngstest-error (view raw)
1#!/bin/sh
2code=77 # skipped
3for t in "${srcdir}/contrib/pngsuite/"x*".png"
4do
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
13done
14exit $code