Whamcloud - gitweb
LU-14264 tests: make PARALLEL available to all suites
[fs/lustre-release.git] / lustre / tests / mpi / Makefile.am
1 # Lustre MPI test Makefile
2 AM_CFLAGS := -fPIC -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64
3
4 CC = @MPICC_WRAPPER@
5
6 THETESTS = parallel_grouplock write_append_truncate createmany_mpi \
7            mdsrate write_disjoint cascading_rw rr_alloc
8
9 if TESTS
10 if MPITESTS
11 if RHEL
12 testdir = @MPI_BIN@
13 else
14 testdir = $(libdir)/lustre/tests
15 endif
16 test_PROGRAMS = $(THETESTS)
17 else
18 noinst_PROGRAMS = $(THETESTS)
19 endif
20 endif
21
22 write_append_truncate_SOURCES=write_append_truncate.c
23 write_disjoint_SOURCES=write_disjoint.c
24 createmany_mpi_SOURCES=createmany-mpi.c
25 parallel_grouplock_SOURCES=parallel_grouplock.c lp_utils.c lp_utils.h
26 rr_alloc_SOURCES=rr_alloc.c
27
28 cascading_rw_SOURCES=cascading_rw.c lp_utils.c lp_utils.h
29 cascading_rw_LDADD=$(top_builddir)/lustre/utils/liblustreapi.la
30
31 mdsrate_SOURCES=mdsrate.c
32 mdsrate_LDADD=$(top_builddir)/lustre/utils/liblustreapi.la