Whamcloud - gitweb
land b1_5 onto HEAD
[fs/lustre-release.git] / lustre / tests / Makefile.am
1 # Lustre test Makefile
2 AM_CPPFLAGS = $(LLCPPFLAGS) -I/opt/lam/include -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DLUSTRE_UTILS
3 AM_CFLAGS = $(LLCFLAGS)
4 # LDADD = -lldap
5 # LDADD := -lreadline -ltermcap # -lefence
6
7 noinst_DATA =
8 noinst_SCRIPTS = leak_finder.pl llecho.sh llmount.sh llmountcleanup.sh test-framework.sh
9 noinst_SCRIPTS += runfailure-mds runvmstat runfailure-net
10 noinst_SCRIPTS += runfailure-ost runiozone runregression-net.sh runtests
11 noinst_SCRIPTS += sanity.sh rundbench
12 noinst_SCRIPTS += cfg/local.sh
13
14
15 EXTRA_DIST = $(noinst_SCRIPTS) $(noinst_DATA) \
16              sanity.sh rundbench \
17              acl/run acl/make-tree acl/getfacl-noacl.test acl/cp.test \
18              acl/setfacl.test acl/permissions.test acl/misc.test \
19              acl/inheritance.test
20
21 if TESTS
22 noinst_PROGRAMS = openunlink testreq truncate directio openme writeme
23 noinst_PROGRAMS += tchmod toexcl fsx test_brw openclose createdestroy
24 noinst_PROGRAMS += stat createmany chownmany statmany multifstat createtest mlink utime
25 noinst_PROGRAMS += opendirunlink opendevunlink unlinkmany fchdir_test checkstat
26 noinst_PROGRAMS += wantedi statone runas openfile getdents o_directory
27 noinst_PROGRAMS += small_write multiop sleeptest ll_sparseness_verify cmknod
28 noinst_PROGRAMS += ll_sparseness_write mrename ll_dirstripe_verify mkdirmany rmdirmany
29 noinst_PROGRAMS += openfilleddirunlink rename_many memhog iopentest1 iopentest2
30 noinst_PROGRAMS += mmap_sanity flock_test writemany random-reads flocks_test
31 if MPITESTS
32 noinst_PROGRAMS += parallel_grouplock write_append_truncate createmany_mpi
33 endif
34 # noinst_PROGRAMS += ldaptest copy_attr mkdirdeep 
35 bin_PROGRAMS = mcreate munlink
36 endif # TESTS
37
38 stat_SOURCES = stat.c stat_fs.h
39 # mkdirdeep_LDADD=-L$(top_builddir)/lnet/utils -lptlctl $(LIBREADLINE)
40 mmap_sanity_SOURCES= mmap_sanity.c
41
42 if MPITESTS
43 LAM_LD_FLAGS=-L/opt/lam/lib -lmpi -llam -lpthread
44 write_append_truncate_SOURCES=write_append_truncate.c
45 write_append_truncate_LDADD=$(LAM_LD_FLAGS)
46 createmany_mpi_SOURCES=createmany-mpi.c
47 createmany_mpi_LDADD=$(LAM_LD_FLAGS)
48 parallel_grouplock_SOURCES=parallel_grouplock.c lp_utils.c
49 parallel_grouplock_LDADD=$(LAM_LD_FLAGS)
50 endif
51
52 #copy_attr_LDADD= -lattr