]>
Commit | Line | Data |
---|---|---|
f281ab97 | 1 | AUTOMAKE_OPTIONS = dejagnu |
c69905b6 | 2 | DEJATOOL = libzebra |
f281ab97 | 3 | |
c69905b6 DL |
4 | SUBDIRS = \ |
5 | bgpd.tests \ | |
6 | libzebra.tests | |
f281ab97 DL |
7 | |
8 | EXTRA_DIST = \ | |
9 | config/unix.exp \ | |
5bb7e4d1 | 10 | lib/bgpd.exp \ |
c69905b6 | 11 | lib/libzebra.exp \ |
f281ab97 DL |
12 | global-conf.exp |
13 | ||
9e7a548c | 14 | INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib |
41c14a1f | 15 | DEFS = @DEFS@ $(LOCAL_OPTS) -DSYSCONFDIR=\"$(sysconfdir)/\" |
16 | ||
46bc0e43 PKJ |
17 | AM_CFLAGS = $(PICFLAGS) |
18 | AM_LDFLAGS = $(PILDFLAGS) | |
19 | ||
c095185c DL |
20 | if BGPD |
21 | TESTS_BGPD = aspathtest testbgpcap ecommtest testbgpmpattr testbgpmpath | |
5bb7e4d1 | 22 | DEJATOOL += bgpd |
c095185c DL |
23 | else |
24 | TESTS_BGPD = | |
25 | endif | |
26 | ||
d7710202 | 27 | check_PROGRAMS = testsig testbuffer testmemory heavy heavywq heavythread \ |
fa713d9e | 28 | testprivs teststream testchecksum tabletest testnexthopiter \ |
c095185c | 29 | $(TESTS_BGPD) |
343f720b | 30 | |
41c14a1f | 31 | testsig_SOURCES = test-sig.c |
4dcadf7e | 32 | testbuffer_SOURCES = test-buffer.c |
33 | testmemory_SOURCES = test-memory.c | |
84771ee0 | 34 | testprivs_SOURCES = test-privs.c |
067fca86 | 35 | teststream_SOURCES = test-stream.c |
9f3f7a11 | 36 | heavy_SOURCES = heavy.c main.c |
37 | heavywq_SOURCES = heavy-wq.c main.c | |
38 | heavythread_SOURCES = heavy-thread.c main.c | |
1f377b02 | 39 | aspathtest_SOURCES = aspath_test.c |
6d58272b | 40 | testbgpcap_SOURCES = bgp_capability_test.c |
0b2aa3a0 | 41 | ecommtest_SOURCES = ecommunity_test.c |
343f720b | 42 | testbgpmpattr_SOURCES = bgp_mp_attr_test.c |
5d4b8cf2 | 43 | testchecksum_SOURCES = test-checksum.c |
42ea6851 | 44 | testbgpmpath_SOURCES = bgp_mpath_test.c |
28971c8c | 45 | tabletest_SOURCES = table_test.c |
fa713d9e | 46 | testnexthopiter_SOURCES = test-nexthop-iter.c prng.c |
41c14a1f | 47 | |
48 | testsig_LDADD = ../lib/libzebra.la @LIBCAP@ | |
4dcadf7e | 49 | testbuffer_LDADD = ../lib/libzebra.la @LIBCAP@ |
50 | testmemory_LDADD = ../lib/libzebra.la @LIBCAP@ | |
84771ee0 | 51 | testprivs_LDADD = ../lib/libzebra.la @LIBCAP@ |
067fca86 | 52 | teststream_LDADD = ../lib/libzebra.la @LIBCAP@ |
9f3f7a11 | 53 | heavy_LDADD = ../lib/libzebra.la @LIBCAP@ -lm |
54 | heavywq_LDADD = ../lib/libzebra.la @LIBCAP@ -lm | |
1d2c893b | 55 | heavythread_LDADD = ../lib/libzebra.la @LIBCAP@ -lm |
d1d3ac9b AS |
56 | aspathtest_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm |
57 | testbgpcap_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm | |
58 | ecommtest_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm | |
59 | testbgpmpattr_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm | |
5d4b8cf2 | 60 | testchecksum_LDADD = ../lib/libzebra.la @LIBCAP@ |
d1d3ac9b | 61 | testbgpmpath_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm |
28971c8c | 62 | tabletest_LDADD = ../lib/libzebra.la @LIBCAP@ -lm |
fa713d9e | 63 | testnexthopiter_LDADD = ../lib/libzebra.la @LIBCAP@ |