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