diff options
Diffstat (limited to 'lib/tests')
-rw-r--r-- | lib/tests/Makefile.am | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/tests/Makefile.am b/lib/tests/Makefile.am index cd9234e..6594db2 100644 --- a/lib/tests/Makefile.am +++ b/lib/tests/Makefile.am | |||
@@ -7,9 +7,9 @@ check_PROGRAMS = @EXTRA_TEST@ | |||
7 | 7 | ||
8 | INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins | 8 | INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/gl -I$(top_srcdir)/intl -I$(top_srcdir)/plugins |
9 | 9 | ||
10 | EXTRA_PROGRAMS = test_utils test_disk | 10 | EXTRA_PROGRAMS = test_utils test_disk test_tcp |
11 | 11 | ||
12 | EXTRA_DIST = test_utils.t test_disk.t | 12 | EXTRA_DIST = test_utils.t test_disk.t test_tcp.t |
13 | 13 | ||
14 | LIBS = @LIBINTL@ | 14 | LIBS = @LIBINTL@ |
15 | 15 | ||
@@ -23,6 +23,11 @@ test_disk_CFLAGS = -g -I.. | |||
23 | test_disk_LDFLAGS = -L/usr/local/lib -ltap | 23 | test_disk_LDFLAGS = -L/usr/local/lib -ltap |
24 | test_disk_LDADD = ../utils_disk.o $(top_srcdir)/gl/libgnu.a | 24 | test_disk_LDADD = ../utils_disk.o $(top_srcdir)/gl/libgnu.a |
25 | 25 | ||
26 | test_tcp_SOURCES = test_tcp.c | ||
27 | test_tcp_CFLAGS = -g -I.. | ||
28 | test_tcp_LDFLAGS = -L/usr/local/lib -ltap | ||
29 | test_tcp_LDADD = ../utils_tcp.o | ||
30 | |||
26 | test: ${noinst_PROGRAMS} | 31 | test: ${noinst_PROGRAMS} |
27 | perl -MTest::Harness -e '$$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS) | 32 | perl -MTest::Harness -e '$$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS) |
28 | 33 | ||