From 151531173bd50d66548effa50ef7393a8c680513 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 12 Dec 2007 01:27:48 +0000 Subject: Run tinderbox builds in a test debug mode using "make test-debug" git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1866 f882894a-f735-0410-b71e-b25c423dba1c --- lib/Makefile.am | 4 ++-- lib/tests/Makefile.am | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Makefile.am b/lib/Makefile.am index 1b309846..36ff245c 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -10,6 +10,6 @@ EXTRA_DIST = utils_base.h utils_disk.h utils_tcp.h utils_cmd.h base64.h INCLUDES = -I$(srcdir) -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins -test: - cd tests && make test +test test-debug: + cd tests && make $@ diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am index 2f464002..0ddc8abf 100644 --- a/lib/tests/Makefile.am +++ b/lib/tests/Makefile.am @@ -39,5 +39,8 @@ test_base64_LDFLAGS = -L/usr/local/lib -ltap test_base64_LDADD = ../base64.o test: ${noinst_PROGRAMS} + perl -MTest::Harness -e '$$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS) + +test-debug: ${noinst_PROGRAMS} perl -MTest::Harness -e '$$Test::Harness::verbose=1; $$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS) -- cgit v1.2.3-74-g34f1