mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Revised test-pngstest.sh to report PASS/FAIL for each image.
This commit is contained in:
parent
c8348f80d5
commit
ce3c7330ba
1
ANNOUNCE
1
ANNOUNCE
@ -177,6 +177,7 @@ Version 1.6.0beta10 [February 3, 2012]
|
||||
|
||||
Version 1.6.0beta11 [February 4, 2012]
|
||||
Fix character count in pngstest command in projects/owatcom/pngstest.tgt
|
||||
Revised test-pngstest.sh to report PASS/FAIL for each image.
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
||||
2
CHANGES
2
CHANGES
@ -3925,9 +3925,11 @@ Version 1.6.0beta10 [February 3, 2012]
|
||||
Added Z_SOLO for zlib-1.2.6+ and correct pngstest tests
|
||||
Updated list of test images in CMakeLists.txt
|
||||
Updated the prebuilt configure files to current condition.
|
||||
Revised INSTALL information about autogen.sh; it works in tar distributions.
|
||||
|
||||
Version 1.6.0beta11 [February 4, 2012]
|
||||
Fix character count in pngstest command in projects/owatcom/pngstest.tgt
|
||||
Revised test-pngstest.sh to report PASS/FAIL for each image.
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
||||
@ -6,25 +6,19 @@ err=0
|
||||
echo >> pngtest-log.txt
|
||||
echo "============ pngstest.sh ==============" >> pngtest-log.txt
|
||||
|
||||
echo "Running test-pngstest.sh on contrib/pngsuite/*.png"
|
||||
echo "Running test-pngstest.sh"
|
||||
for image in ${srcdir}/contrib/pngsuite/*.png
|
||||
do
|
||||
for opts in ""
|
||||
do
|
||||
if ./pngstest --log "$@" $opts ${srcdir}/contrib/pngsuite/bas*.png \
|
||||
>>pngtest-log.txt 2>&1
|
||||
if ./pngstest --log "$@" $opts $image >>pngtest-log.txt 2>&1
|
||||
then
|
||||
echo " PASS: pngstest $opts (basic images)"
|
||||
echo " PASS: pngstest $opts $image"
|
||||
else
|
||||
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)"
|
||||
echo " FAIL: pngstest $opts $image"
|
||||
err=1
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
||||
exit $err
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user