diff options
Diffstat (limited to 'lib/tests/Makefile.am')
-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 6594db2f..9ca22d16 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 test_tcp | 10 | EXTRA_PROGRAMS = test_utils test_disk test_tcp test_cmd |
11 | 11 | ||
12 | EXTRA_DIST = test_utils.t test_disk.t test_tcp.t | 12 | EXTRA_DIST = test_utils.t test_disk.t test_tcp.t test_cmd.t |
13 | 13 | ||
14 | LIBS = @LIBINTL@ | 14 | LIBS = @LIBINTL@ |
15 | 15 | ||
@@ -28,6 +28,11 @@ test_tcp_CFLAGS = -g -I.. | |||
28 | test_tcp_LDFLAGS = -L/usr/local/lib -ltap | 28 | test_tcp_LDFLAGS = -L/usr/local/lib -ltap |
29 | test_tcp_LDADD = ../utils_tcp.o | 29 | test_tcp_LDADD = ../utils_tcp.o |
30 | 30 | ||
31 | test_cmd_SOURCES = test_cmd.c | ||
32 | test_cmd_CFLAGS = -g -I.. | ||
33 | test_cmd_LDFLAGS = -L/usr/local/lib -ltap | ||
34 | test_cmd_LDADD = ../utils_cmd.o ../utils_base.o | ||
35 | |||
31 | test: ${noinst_PROGRAMS} | 36 | test: ${noinst_PROGRAMS} |
32 | perl -MTest::Harness -e '$$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS) | 37 | perl -MTest::Harness -e '$$Test::Harness::switches=""; runtests(map {$$_ .= ".t"} @ARGV)' $(EXTRA_PROGRAMS) |
33 | 38 | ||