blob: f5cbdbcae4379053d143221db2d19b2f9c4a1df7 [file] [log] [blame]
Chris Craikca2bf812013-07-29 15:28:30 -07001#!/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#
10pattern="$1"
11shift
12exec ./pngstest --strict --tmpfile "${pattern}" --log ${1+"$@"}\
13 "${srcdir}/contrib/pngsuite/"[a-wyz]*${pattern}".png"