src/third-party/libpng/tests/pngstest (view raw)
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#
10pattern="$1"
11shift
12exec ./pngstest --strict --tmpfile "${pattern}" --log ${1+"$@"}\
13 "${srcdir}/contrib/pngsuite/"[a-wyz]*${pattern}".png"