diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2007-12-12 01:27:48 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2007-12-12 01:27:48 (GMT) |
commit | 151531173bd50d66548effa50ef7393a8c680513 (patch) | |
tree | 7812c912217e191931e71c6138cf694916c914d2 /lib | |
parent | 27627ee6c20d57096ee9364b144f59180a96c3ac (diff) | |
download | monitoring-plugins-151531173bd50d66548effa50ef7393a8c680513.tar.gz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.am | 4 | ||||
-rw-r--r-- | lib/tests/Makefile.am | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index 1b30984..36ff245 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 | |||
10 | 10 | ||
11 | INCLUDES = -I$(srcdir) -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins | 11 | INCLUDES = -I$(srcdir) -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins |
12 | 12 | ||
13 | test: | 13 | test test-debug: |
14 | cd tests && make test | 14 | cd tests && make $@ |
15 | 15 | ||
diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am index 2f46400..0ddc8ab 100644 --- a/lib/tests/Makefile.am +++ b/lib/tests/Makefile.am | |||
@@ -39,5 +39,8 @@ test_base64_LDFLAGS = -L/usr/local/lib -ltap | |||
39 | test_base64_LDADD = ../base64.o | 39 | test_base64_LDADD = ../base64.o |
40 | 40 | ||
41 | test: ${noinst_PROGRAMS} | 41 | test: ${noinst_PROGRAMS} |
42 | perl -MTest::Harness -e '$$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS) | ||
43 | |||
44 | test-debug: ${noinst_PROGRAMS} | ||
42 | perl -MTest::Harness -e '$$Test::Harness::verbose=1; $$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS) | 45 | perl -MTest::Harness -e '$$Test::Harness::verbose=1; $$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS) |
43 | 46 | ||