Makefile.subdir 1.51 KB
Newer Older
1

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

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

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
22

23 24 25 26
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

27 28 29
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
30 31 32 33 34

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
35 36 37 38 39

tests_modelnet_test_collective_LDADD = $(testlib) ${CODES_BASE_LIBS}
tests_modelnet_test_collective_CFLAGS = ${CODES_BASE_CFLAGS}
tests_modelnet_test_collective_SOURCES = tests/modelnet-test-collective.c