提交 ce3c7330 编写于 作者: G Glenn Randers-Pehrson

[libpng16] Revised test-pngstest.sh to report PASS/FAIL for each image.

上级 c8348f80
......@@ -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
......
......@@ -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"
for opts in ""
echo "Running test-pngstest.sh"
for image in ${srcdir}/contrib/pngsuite/*.png
do
if ./pngstest --log "$@" $opts ${srcdir}/contrib/pngsuite/bas*.png \
>>pngtest-log.txt 2>&1
then
echo " PASS: pngstest $opts (basic images)"
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)"
err=1
fi
for opts in ""
do
if ./pngstest --log "$@" $opts $image >>pngtest-log.txt 2>&1
then
echo " PASS: pngstest $opts $image"
else
echo " FAIL: pngstest $opts $image"
err=1
fi
done
done
exit $err
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册