~random-stuff/libpng/libpng-1.6.x

« back to all changes in this revision

Viewing changes to tests/pngstest

  • Committer: Sérgio Benjamim
  • Date: 2015-10-10 23:00:20 UTC
  • Revision ID: sergio_br2@yahoo.com.br-20151010230020-gdtmmv30zn25396n
Update to 1.6.18.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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"