Makefile.subdir 2.25 KB
Newer Older
1

2
check_PROGRAMS += tests/lp-io-test \
3
 tests/workload/codes-workload-test \
4
 tests/workload/codes-workload-mpi-replay \
5
 tests/mapping_test \
6
 tests/lsm-test \
7
 tests/resource-test \
8 9
 tests/rc-stack-test \
 tests/jobmap-test
10

11
TESTS += tests/lp-io-test.sh \
12
 tests/workload/codes-workload-test.sh \
13
 tests/mapping_test.sh \
14
 tests/lsm-test.sh \
Jonathan Jenkins's avatar
Jonathan Jenkins committed
15
 tests/rc-stack-test \
16 17
 tests/resource-test.sh \
 tests/jobmap-test
18 19

EXTRA_DIST += tests/lp-io-test.sh \
20
 tests/workload/codes-workload-test.sh \
Jonathan Jenkins's avatar
Jonathan Jenkins committed
21
 tests/workload/codes-workload-test.conf \
Jonathan Jenkins's avatar
Jonathan Jenkins committed
22
 tests/workload/README.txt \
23
 tests/mapping_test.sh \
Jonathan Jenkins's avatar
Jonathan Jenkins committed
24
 tests/lsm-test.sh \
Jonathan Jenkins's avatar
Jonathan Jenkins committed
25
 tests/resource-test.sh \
Jonathan Jenkins's avatar
Jonathan Jenkins committed
26 27 28 29
 tests/conf/buffer_test.conf \
 tests/conf/lsm-test.conf \
 tests/conf/mapping_test.conf \
 tests/expected/mapping_test.out
30 31 32 33 34 35

testlib = src/libcodes-base.a

tests_lp_io_test_LDADD = $(testlib) ${ROSS_LIBS}
tests_lp_io_test_LDFLAGS = ${ROSS_LDFLAGS}
tests_lp_io_test_SOURCES = tests/lp-io-test.c
36

37 38 39 40
tests_mapping_test_LDADD = $(testlib) ${ROSS_LIBS}
tests_mapping_test_LDFLAGS = ${ROSS_LDFLAGS}
tests_mapping_test_SOURCES = tests/mapping_test.c

41 42 43 44
tests_resource_test_LDADD = $(testlib) ${ROSS_LIBS}
tests_resource_test_LDFLAGS = ${ROSS_LDFLAGS}
tests_resource_test_SOURCES = tests/resource-test.c

45 46 47 48
tests_lsm_test_LDADD = $(testlib) ${ROSS_LIBS}
tests_lsm_test_LDFLAGS = ${ROSS_LDFLAGS}
tests_lsm_test_SOURCES = tests/local-storage-model-test.c

49 50 51 52
tests_rc_stack_test_LDADD = $(testlib) ${ROSS_LIBS}
tests_rc_stack_test_LDFLAGS = ${ROSS_LDFLAGS}
tests_rc_stack_test_SOURCES = tests/rc-stack-test.c

53 54
tests_jobmap_test_LDADD = $(testlib) ${ROSS_LIBS}
tests_jobmap_test_LDFLAGS = ${ROSS_LDFLAGS}
55
tests_jobmap_test_SOURCES = tests/jobmap-test.c
56

57 58 59 60 61 62 63
tests_workload_codes_workload_test_LDADD = $(testlib) ${ROSS_LIBS}
tests_workload_codes_workload_test_LDFLAGS = ${ROSS_LDFLAGS}
tests_workload_codes_workload_test_SOURCES = \
 tests/workload/codes-workload-test.c \
 tests/workload/codes-workload-test-svr-lp.c \
 tests/workload/codes-workload-test-svr-lp.h \
 tests/workload/codes-workload-test-cn-lp.c \
64
 tests/workload/codes-workload-test-cn-lp.h 
65

66 67
tests_workload_codes_workload_mpi_replay_LDADD = $(testlib) ${ROSS_LIBS}
tests_workload_codes_workload_mpi_replay_LDFLAGS = ${ROSS_LDFLAGS}
68
tests_workload_codes_workload_mpi_replay_SOURCES = tests/workload/codes-workload-mpi-replay.c