[devel] Don't display test results (except PASS/FAIL) when running "make test".
Instead put them in pngtest-log.txt
This commit is contained in:
parent
b54498edea
commit
d5e3590df7
3
ANNOUNCE
3
ANNOUNCE
@ -467,6 +467,9 @@ Version 1.5.0beta57 [December 8, 2010]
|
||||
or warnings.
|
||||
Removed references to pngvcrd.c and pnggccrd.c from the vstudio project.
|
||||
Updated "libpng14" to "libpng15" in the visualc71 project.
|
||||
Enabled the strip16 tests in pngvalid.`
|
||||
Don't display test results (except PASS/FAIL) when running "make test".
|
||||
Instead put them in pngtest-log.txt
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
|
||||
(subscription required; visit
|
||||
|
3
CHANGES
3
CHANGES
@ -3105,6 +3105,9 @@ Version 1.5.0beta57 [December 8, 2010]
|
||||
or warnings.
|
||||
Removed references to pngvcrd.c and pnggccrd.c from the vstudio project.
|
||||
Updated "libpng14" to "libpng15" in the visualc71 project.
|
||||
Enabled the strip16 tests in pngvalid.`
|
||||
Don't display test results (except PASS/FAIL) when running "make test".
|
||||
Instead put them in pngtest-log.txt
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
@ -1,3 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
./pngtest ${srcdir}/pngtest.png
|
||||
echo "Running tests. For details see pngtest-log.txt"
|
||||
|
||||
echo "============ pngtest pngtest.png ==============" > pngtest-log.txt
|
||||
|
||||
echo "Running test-pngtest.sh"
|
||||
./pngtest ${srcdir}/pngtest.png >> pngtest-log.txt
|
||||
|
@ -2,6 +2,11 @@
|
||||
#
|
||||
# Run a sequence of gamma tests quietly
|
||||
err=0
|
||||
|
||||
echo >> pngtest-log.txt
|
||||
echo "============ pngvalid-full.sh ==============" >> pngtest-log.txt
|
||||
|
||||
echo "Running test-pngvalid-full.sh -- it's lengthy, please wait..."
|
||||
for gamma in threshold transform sbit 16-to-8
|
||||
do
|
||||
opts=
|
||||
@ -10,7 +15,7 @@ do
|
||||
test "$gamma" = sbit || opts="$opts --nogamma-sbit"
|
||||
test "$gamma" = 16-to-8 || opts="$opts --nogamma-16-to-8"
|
||||
|
||||
if ./pngvalid -q --nostandard $opts
|
||||
if ./pngvalid --nostandard $opts >> pngtest-log.txt
|
||||
then
|
||||
echo " PASS:" pngvalid "(gamma-$gamma)"
|
||||
else
|
||||
@ -19,4 +24,6 @@ do
|
||||
fi
|
||||
done
|
||||
|
||||
echo
|
||||
|
||||
exit $err
|
||||
|
@ -4,10 +4,13 @@
|
||||
# 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 -q --nogamma $opts
|
||||
if ./pngvalid --nogamma $opts >> pngtest-log.txt
|
||||
then
|
||||
echo " PASS:" pngvalid --nogamma $opts
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user