[libpng16] Divide pngstest into separate runs for basic and transparent images.

This commit is contained in:
Glenn Randers-Pehrson 2012-01-28 01:07:34 -06:00
parent feecc898d9
commit 5cdff4144e
3 changed files with 15 additions and 5 deletions

View File

@ -143,8 +143,9 @@ Version 1.6.0beta07 [January 28, 2012]
pngsuite/README.txt.
Version 1.6.0beta08 [January 28, 2012]
Fixed Image::colormap mis-alignment in pngstest.c
Fixed Image::colormap misalignment in pngstest.c
Check libtool/libtoolize version number (2.4.2) in configure.ac
Divide pngstest into separate runs for basic and transparent images.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -3894,8 +3894,9 @@ Version 1.6.0beta07 [January 28, 2012]
pngsuite/README.txt.
Version 1.6.0beta08 [January 28, 2012]
Fixed Image::colormap mis-alignment in pngstest.c
Fixed Image::colormap misalignment in pngstest.c
Check libtool/libtoolize version number (2.4.2) in configure.ac
Divide pngstest into separate runs for basic and transparent images.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -9,12 +9,20 @@ echo "============ pngstest.sh ==============" >> pngtest-log.txt
echo "Running test-pngstest.sh on contrib/pngsuite/*.png"
for opts in "" "--background"
do
if ./pngstest --log "$@" $opts ${srcdir}/contrib/pngsuite/*.png \
if ./pngstest --log "$@" $opts ${srcdir}/contrib/pngsuite/bas*.png \
>>pngtest-log.txt 2>&1
then
echo " PASS: pngstest $opts"
echo " PASS: pngstest $opts (basic images)"
else
echo " FAIL: pngstest $opts"
echo " FAIL: pngstest $opts (basic images)"
err=1
fi
if ./pngstest --log "$@" $opts ${srcdir}/contrib/pngsuite/ft*.png \
>>pngtest-log.txt 2>&1
then
echo " PASS: pngstest $opts (transparent images)"
else
echo " FAIL: pngstest $opts (transparent images)"
err=1
fi
done