From 795100ae5124915bb647a304d5dfe2ada2f44ab0 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Mon, 30 Jan 2006 16:10:50 +0000 Subject: Added libtap tests for utils.c library functions. Removed redundant test files git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1303 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/tests/Makefile.am | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 plugins/tests/Makefile.am (limited to 'plugins/tests/Makefile.am') diff --git a/plugins/tests/Makefile.am b/plugins/tests/Makefile.am new file mode 100644 index 00000000..0d82be12 --- /dev/null +++ b/plugins/tests/Makefile.am @@ -0,0 +1,21 @@ + +noinst_PROGRAMS = @EXTRA_TEST@ + +# These two lines support "make check", but we use "make test" +TESTS = @EXTRA_TEST@ +check_PROGRAMS = @EXTRA_TEST@ + +INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/intl + +EXTRA_PROGRAMS = test_utils + +LIBS = @LIBINTL@ + +test_utils_SOURCES = test_utils.c +test_utils_CFLAGS = -g -I.. +test_utils_LDFLAGS = -L.. +test_utils_LDADD = ../utils.o @EXTRA_TAPOBJ@ + +test: ${noinst_PROGRAMS} + perl -MTest::Harness -e '$$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS) + -- cgit v1.2.3-74-g34f1