[devel] Enable the strip16 tests in pngvalid

This commit is contained in:
John Bowler
2010-12-08 16:26:21 -06:00
committed by Glenn Randers-Pehrson
parent ba851ccd9f
commit b54498edea
3 changed files with 135 additions and 58 deletions

View File

@@ -1,3 +1,19 @@
#!/bin/sh
#
# Run a sequence of tests quietly, without the slow
# gamma tests
err=0
./pngvalid -q --speed
for opts in "" --progressive-read --interlace \
"--progressive-read --interlace"
do
if ./pngvalid -q --nogamma $opts
then
echo "PASS:" pngvalid --nogamma $opts
else
echo "FAIL:" pngvalid --nogamma $opts
err=1
fi
done
exit $err