[devel] Revised "make test" to only print PASS or FAIL for pngvalid tests.

This commit is contained in:
Glenn Randers-Pehrson 2010-12-07 22:33:17 -06:00
parent 798b1613ab
commit 6f1af78401
4 changed files with 8 additions and 2 deletions

View File

@ -17,7 +17,7 @@ pngtest_SOURCES = pngtest.c
pngtest_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
pngvalid_SOURCES = pngvalid.c
pngvalid_LDADD = libpng@PNGLIB_MAJOR@@PNGLIB_MINOR@.la
TESTS = test-pngtest.sh pngvalid
TESTS = test-pngtest.sh test-pngvalid-simple.sh test-pngvalid-full.sh
TESTS_ENVIRONMENT= srcdir=$(srcdir)
# man pages

View File

@ -41,7 +41,7 @@ POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
check_PROGRAMS = pngtest$(EXEEXT) pngvalid$(EXEEXT)
TESTS = test-pngtest.sh pngvalid$(EXEEXT)
TESTS = test-pngtest.sh test-pngvalid-simple.sh test-pngvalid-full.sh
@HAVE_LD_VERSION_SCRIPT_TRUE@am__append_1 = -Wl,--version-script=libpng.vers
@HAVE_LD_VERSION_SCRIPT_FALSE@am__append_2 = -export-symbols libpng.sym
subdir = .

3
test-pngvalid-full.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
./pngvalid -q --speed

3
test-pngvalid-simple.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
./pngvalid -q --nogamma