libpng/tests/pngstest
2013-03-27 20:39:36 -05:00

14 lines
335 B
Bash
Executable File

#!/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"