Makefile.subdir 1.82 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
				  tests/modelnet-test-collective \
				  tests/modelnet-prio-sched-test
6

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

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
25

26 27 28 29
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

30 31 32
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
33 34 35 36 37

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
38 39 40 41 42

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

43 44 45
tests_modelnet_prio_sched_test_LDADD = $(testlib) ${CODES_BASE_LIBS}
tests_modelnet_prio_sched_test_CFLAGS = ${CODES_BASE_CFLAGS}
tests_modelnet_prio_sched_test_SOURCES = tests/modelnet-prio-sched-test.c