diff options
| author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-07-13 12:50:23 +0000 |
|---|---|---|
| committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-07-13 12:50:23 +0000 |
| commit | 548083b2ea865474915fc8a9ddd361e997585a02 (patch) | |
| tree | f3766c1f5d8f8ea1b2b721a5792e4fb4daf1cf68 /lib/tests/Makefile.am | |
| parent | 6b9cc76d0a27631fbab19a31ab8bd46e143b7580 (diff) | |
| download | monitoring-plugins-548083b2ea865474915fc8a9ddd361e997585a02.tar.gz | |
Move new util_* functions to lib/
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1451 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/tests/Makefile.am')
| -rw-r--r-- | lib/tests/Makefile.am | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am new file mode 100644 index 00000000..63dee76e --- /dev/null +++ b/lib/tests/Makefile.am | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | |||
| 2 | noinst_PROGRAMS = @EXTRA_TEST@ | ||
| 3 | |||
| 4 | # These two lines support "make check", but we use "make test" | ||
| 5 | TESTS = @EXTRA_TEST@ | ||
| 6 | check_PROGRAMS = @EXTRA_TEST@ | ||
| 7 | |||
| 8 | INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/intl -I$(top_srcdir)/plugins | ||
| 9 | |||
| 10 | EXTRA_PROGRAMS = test_utils test_disk | ||
| 11 | |||
| 12 | EXTRA_DIST = test_utils.t test_disk.t | ||
| 13 | |||
| 14 | LIBS = @LIBINTL@ | ||
| 15 | |||
| 16 | test_utils_SOURCES = test_utils.c | ||
| 17 | test_utils_CFLAGS = -g -I.. | ||
| 18 | test_utils_LDFLAGS = -L/usr/local/lib -ltap | ||
| 19 | test_utils_LDADD = ../utils_base.o | ||
| 20 | |||
| 21 | test_disk_SOURCES = test_disk.c | ||
| 22 | test_disk_CFLAGS = -g -I.. | ||
| 23 | test_disk_LDFLAGS = -L/usr/local/lib -ltap | ||
| 24 | test_disk_LDADD = ../utils_disk.o | ||
| 25 | |||
| 26 | test: ${noinst_PROGRAMS} | ||
| 27 | perl -MTest::Harness -e '$$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS) | ||
| 28 | |||
