libpng/test-pngvalid-simple.sh
Glenn Randers-Pehrson d5e3590df7 [devel] Don't display test results (except PASS/FAIL) when running "make test".
Instead put them in pngtest-log.txt
2010-12-08 17:26:50 -06:00

23 lines
503 B
Bash
Executable File

#!/bin/sh
#
# Run a sequence of tests quietly, without the slow
# gamma tests
err=0
echo >> pngtest-log.txt
echo "============ pngvalid-simple.sh ==============" >> pngtest-log.txt
echo "Running test-pngvalid-simple.sh"
for opts in "" --progressive-read --interlace \
"--progressive-read --interlace"
do
if ./pngvalid --nogamma $opts >> pngtest-log.txt
then
echo " PASS:" pngvalid --nogamma $opts
else
echo " FAIL:" pngvalid --nogamma $opts
err=1
fi
done
exit $err