summaryrefslogtreecommitdiff
path: root/Build/source/libs/libpng/libpng-1.6.14/tests/pngstest
blob: f5cbdbcae4379053d143221db2d19b2f9c4a1df7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# Usage:
#
#  tests/pngstest pattern
#
# Runs pngstest on all the contrib/pngsuite/[^x]*${pattern}.png files
# NOTE: pattern is used to name the temporary files pngstest generates
#
pattern="$1"
shift
exec ./pngstest --strict --tmpfile "${pattern}" --log ${1+"$@"}\
   "${srcdir}/contrib/pngsuite/"[a-wyz]*${pattern}".png"