File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / quagga / tests / Makefile.am
Revision 1.1.1.4 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Nov 2 10:09:12 2016 UTC (7 years, 8 months ago) by misho
Branches: quagga, MAIN
CVS tags: v1_0_20160315, HEAD
quagga 1.0.20160315

    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
   19: DEFS = @DEFS@ $(LOCAL_OPTS) -DSYSCONFDIR=\"$(sysconfdir)/\"
   20: 
   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
   44: 
   45: BUILT_SOURCES = test-commands-defun.c
   46: noinst_HEADERS = prng.h tests.h common-cli.h
   47: 
   48: testcli_SOURCES = test-cli.c common-cli.c
   49: testsig_SOURCES = test-sig.c
   50: testsegv_SOURCES = test-segv.c
   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
   63: testbgpmpath_SOURCES = bgp_mpath_test.c
   64: tabletest_SOURCES = table_test.c
   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
   69: 
   70: testcli_LDADD = ../lib/libzebra.la @LIBCAP@
   71: testsig_LDADD = ../lib/libzebra.la @LIBCAP@
   72: testsegv_LDADD = ../lib/libzebra.la @LIBCAP@
   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
   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
   84: testchecksum_LDADD = ../lib/libzebra.la @LIBCAP@ 
   85: testbgpmpath_LDADD = ../bgpd/libbgp.a ../lib/libzebra.la @LIBCAP@ -lm
   86: tabletest_LDADD = ../lib/libzebra.la @LIBCAP@ -lm
   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>