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]
|
Version 1.6.0beta11 [February 4, 2012]
|
||||||
Fix character count in pngstest command in projects/owatcom/pngstest.tgt
|
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
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(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
|
Added Z_SOLO for zlib-1.2.6+ and correct pngstest tests
|
||||||
Updated list of test images in CMakeLists.txt
|
Updated list of test images in CMakeLists.txt
|
||||||
Updated the prebuilt configure files to current condition.
|
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]
|
Version 1.6.0beta11 [February 4, 2012]
|
||||||
Fix character count in pngstest command in projects/owatcom/pngstest.tgt
|
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
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
|||||||
@ -6,25 +6,19 @@ err=0
|
|||||||
echo >> pngtest-log.txt
|
echo >> pngtest-log.txt
|
||||||
echo "============ pngstest.sh ==============" >> pngtest-log.txt
|
echo "============ pngstest.sh ==============" >> pngtest-log.txt
|
||||||
|
|
||||||
echo "Running test-pngstest.sh on contrib/pngsuite/*.png"
|
echo "Running test-pngstest.sh"
|
||||||
for opts in ""
|
for image in ${srcdir}/contrib/pngsuite/*.png
|
||||||
do
|
do
|
||||||
if ./pngstest --log "$@" $opts ${srcdir}/contrib/pngsuite/bas*.png \
|
for opts in ""
|
||||||
>>pngtest-log.txt 2>&1
|
do
|
||||||
then
|
if ./pngstest --log "$@" $opts $image >>pngtest-log.txt 2>&1
|
||||||
echo " PASS: pngstest $opts (basic images)"
|
then
|
||||||
else
|
echo " PASS: pngstest $opts $image"
|
||||||
echo " FAIL: pngstest $opts (basic images)"
|
else
|
||||||
err=1
|
echo " FAIL: pngstest $opts $image"
|
||||||
fi
|
err=1
|
||||||
if ./pngstest --log "$@" $opts ${srcdir}/contrib/pngsuite/ft*.png \
|
fi
|
||||||
>>pngtest-log.txt 2>&1
|
done
|
||||||
then
|
|
||||||
echo " PASS: pngstest $opts (transparent images)"
|
|
||||||
else
|
|
||||||
echo " FAIL: pngstest $opts (transparent images)"
|
|
||||||
err=1
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
exit $err
|
exit $err
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user