Makefile.subdir 1.27 KB
Newer Older
1

2
check_PROGRAMS += tests/modelnet-test tests/modelnet-p2p-bw \
3
				  tests/concurrent-msg-recv tests/modelnet-simplewan-test
4

5 6
TESTS += tests/modelnet-test.sh \
	 tests/modelnet-test-torus.sh \
7
	 tests/modelnet-test-loggp.sh \
Philip Carns's avatar
Philip Carns committed
8 9
	 tests/modelnet-test-dragonfly.sh \
	 tests/modelnet-p2p-bw-loggp.sh
10 11
EXTRA_DIST += tests/modelnet-test.sh \
	      tests/modelnet-test-torus.sh \
12
	      tests/modelnet-test-loggp.sh \
Philip Carns's avatar
Philip Carns committed
13 14
	      tests/modelnet-test-dragonfly.sh \
	      tests/modelnet-p2p-bw-loggp.sh
15 16 17 18 19 20

testlib = src/libcodes-net.a

tests_modelnet_test_LDADD = $(testlib) ${CODES_BASE_LIBS}
tests_modelnet_test_CFLAGS = ${CODES_BASE_CFLAGS}
tests_modelnet_test_SOURCES = tests/modelnet-test.c
21

22 23 24 25
tests_modelnet_simplewan_test_LDADD = $(testlib) ${CODES_BASE_LIBS}
tests_modelnet_simplewan_test_CFLAGS = ${CODES_BASE_CFLAGS}
tests_modelnet_simplewan_test_SOURCES = tests/modelnet-simplewan-test.c

26 27 28
tests_modelnet_p2p_bw_LDADD = $(testlib) ${CODES_BASE_LIBS}
tests_modelnet_p2p_bw_CFLAGS = ${CODES_BASE_CFLAGS}
tests_modelnet_p2p_bw_SOURCES = tests/modelnet-p2p-bw.c
29 30 31 32 33

tests_concurrent_msg_recv_LDFLAGS = ${CODES_BASE_LDFLAGS}
tests_concurrent_msg_recv_LDADD = $(testlib) ${CODES_BASE_LIBS} 
tests_concurrent_msg_recv_CFLAGS = ${CODES_BASE_CFLAGS} 
tests_concurrent_msg_recv_SOURCES = tests/concurrent-msg-recv.c