Glenn Randers-Pehrson | 871b1d0 | 2013-03-02 14:58:22 -0600 | [diff] [blame] | 1 | #!/bin/sh |
2 | # | ||||
3 | # Usage: | ||||
4 | # | ||||
5 | # tests/pngstest pattern | ||||
6 | # | ||||
7 | # Runs pngstest on all the contrib/pngsuite/[^x]*${pattern}.png files | ||||
8 | # NOTE: pattern is used to name the temporary files pngstest generates | ||||
9 | # | ||||
10 | pattern="$1" | ||||
11 | shift | ||||
12 | exec ./pngstest --strict --tmpfile "${pattern}" --log ${1+"$@"}\ | ||||
13 | "${srcdir}/contrib/pngsuite/"[a-wyz]*${pattern}".png" |