Annotation of embedaddon/quagga/tests/Makefile.am, revision 1.1.1.4
1.1.1.4 ! misho 1: AUTOMAKE_OPTIONS = dejagnu
! 2: DEJATOOL = libzebra
! 3:
! 4: SUBDIRS = \
! 5: bgpd.tests \
! 6: libzebra.tests
! 7:
! 8: EXTRA_DIST = \
! 9: config/unix.exp \
! 10: lib/bgpd.exp \
! 11: lib/libzebra.exp \
! 12: global-conf.exp \
! 13: testcommands.in \
! 14: testcommands.refout \
! 15: testcli.in \
! 16: testcli.refout
! 17:
! 18: AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
1.1 misho 19: DEFS = @DEFS@ $(LOCAL_OPTS) -DSYSCONFDIR=\"$(sysconfdir)/\"
20:
1.1.1.4 ! misho 21: if BGPD
! 22: TESTS_BGPD = aspathtest testbgpcap ecommtest testbgpmpattr testbgpmpath
! 23: DEJATOOL += bgpd
! 24: else
! 25: TESTS_BGPD =
! 26: endif
! 27:
! 28: check_PROGRAMS = testsig testsegv testbuffer testmemory heavy heavywq heavythread \
! 29: testprivs teststream testchecksum tabletest testnexthopiter \
! 30: testcommands test-timer-correctness test-timer-performance \
! 31: testcli \
! 32: $(TESTS_BGPD)
! 33:
! 34: ../vtysh/vtysh_cmd.c:
! 35: $(MAKE) -C ../vtysh vtysh_cmd.c
! 36:
! 37: test-commands-defun.c: ../vtysh/vtysh_cmd.c
! 38: sed \
! 39: -e 's/"vtysh\.h"/"tests.h"/' \
! 40: -e 's/vtysh_init_cmd/test_init_cmd/' \
! 41: -e 's/VTYSH_[A-Z][A-Z_0-9]*/0/g' \
! 42: < ../vtysh/vtysh_cmd.c \
! 43: > test-commands-defun.c
1.1 misho 44:
1.1.1.4 ! misho 45: BUILT_SOURCES = test-commands-defun.c
! 46: noinst_HEADERS = prng.h tests.h common-cli.h
1.1 misho 47:
1.1.1.4 ! misho 48: testcli_SOURCES = test-cli.c common-cli.c
1.1 misho 49: testsig_SOURCES = test-sig.c
1.1.1.4 ! misho 50: testsegv_SOURCES = test-segv.c
1.1 misho 51: testbuffer_SOURCES = test-buffer.c
52: testmemory_SOURCES = test-memory.c
53: testprivs_SOURCES = test-privs.c
54: teststream_SOURCES = test-stream.c
55: heavy_SOURCES = heavy.c main.c
56: heavywq_SOURCES = heavy-wq.c main.c
57: heavythread_SOURCES = heavy-thread.c main.c
58: aspathtest_SOURCES = aspath_test.c
59: testbgpcap_SOURCES = bgp_capability_test.c
60: ecommtest_SOURCES = ecommunity_test.c
61: testbgpmpattr_SOURCES = bgp_mp_attr_test.c
62: testchecksum_SOURCES = test-checksum.c
1.1.1.2 misho 63: testbgpmpath_SOURCES = bgp_mpath_test.c
1.1.1.3 misho 64: tabletest_SOURCES = table_test.c
1.1.1.4 ! misho 65: testnexthopiter_SOURCES = test-nexthop-iter.c prng.c
! 66: testcommands_SOURCES = test-commands-defun.c test-commands.c prng.c
! 67: test_timer_correctness_SOURCES = test-timer-correctness.c prng.c
! 68: test_timer_performance_SOURCES = test-timer-performance.c prng.c
1.1 misho 69:
1.1.1.4 ! misho 70: testcli_LDADD = ../lib/libzebra.la @LIBCAP@
1.1 misho 71: testsig_LDADD = ../lib/libzebra.la @LIBCAP@
1.1.1.4 ! misho 72: testsegv_LDADD = ../lib/libzebra.la @LIBCAP@
1.1 misho 73: testbuffer_LDADD = ../lib/libzebra.la @LIBCAP@
74: testmemory_LDADD = ../lib/libzebra.la @LIBCAP@
75: testprivs_LDADD = ../lib/libzebra.la @LIBCAP@
76: teststream_LDADD = ../lib/libzebra.la @LIBCAP@
77: heavy_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
78: heavywq_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
79: heavythread_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
1.1.1.3 misho 80: aspathtest_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
81: testbgpcap_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
82: ecommtest_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
83: testbgpmpattr_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
1.1 misho 84: testchecksum_LDADD = ../lib/libzebra.la @LIBCAP@
1.1.1.3 misho 85: testbgpmpath_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
86: tabletest_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
1.1.1.4 ! misho 87: testnexthopiter_LDADD = ../lib/libzebra.la @LIBCAP@
! 88: testcommands_LDADD = ../lib/libzebra.la @LIBCAP@
! 89: test_timer_correctness_LDADD = ../lib/libzebra.la @LIBCAP@
! 90: test_timer_performance_LDADD = ../lib/libzebra.la @LIBCAP@
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>