X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Fliblustre%2Ftests%2FMakefile.am;h=c6c7e277f0437b06d0d6a22f28a33ef974563e5a;hp=9ed59aa0b5149b01bf25fd5536b9720f0378227f;hb=9d72ec94b56590ad5da7003e93dd268d81fc8d14;hpb=113303973ec9f8484eb2355a1a6ef3c4c7fd6a56 diff --git a/lustre/liblustre/tests/Makefile.am b/lustre/liblustre/tests/Makefile.am index 9ed59aa..c6c7e27 100644 --- a/lustre/liblustre/tests/Makefile.am +++ b/lustre/liblustre/tests/Makefile.am @@ -10,21 +10,24 @@ if LIBLUSTRE noinst_LIBRARIES = libtestcommon.a if LIBLUSTRE_TESTS -noinst_PROGRAMS = sanity recovery_small replay_single replay_ost_single echo_test - if MPITESTS -noinst_PROGRAMS += test_lock_cancel +SUBDIRS = mpi endif # MPITESTS +noinst_PROGRAMS = sanity + +noinst_PROGRAMS += recovery_small replay_single replay_ost_single + +liblustre_testdir=$(libdir)/lustre/liblustre/tests +liblustre_test_PROGRAMS = $(noinst_PROGRAMS) +liblustre_test_LIBRARIES = $(noinst_LIBRARIES) + endif # LIBLUSTRE_TESTS endif # LIBLUSTRE -libtestcommon_a_SOURCES = test_common.c test_common.h +DIST_SUBDIRS = mpi -echo_test_SOURCES = echo_test.c $(top_srcdir)/lustre/utils/parser.c $(top_srcdir)/lustre/utils/obd.c $(top_srcdir)/lustre/utils/lustre_cfg.c -echo_test_CFLAGS = $(LL_CFLAGS) -echo_test_LDADD = $(top_builddir)/lustre/liblustre/liblsupport.a $(LIBREADLINE) $(CAP_LIBS) $(PTHREAD_LIBS) -echo_test_DEPENDENCIES=$(top_builddir)/lustre/liblustre/liblsupport.a +libtestcommon_a_SOURCES = test_common.c test_common.h sanity_SOURCES = sanity.c sanity_CFLAGS = $(LL_CFLAGS) @@ -45,11 +48,3 @@ replay_ost_single_SOURCES = replay_ost_single.c replay_ost_single_CFLAGS = $(LL_CFLAGS) replay_ost_single_LDADD := libtestcommon.a $(LLIB_EXEC) replay_ost_single_DEPENDENCIES = $(top_builddir)/lustre/liblustre/liblustre.a libtestcommon.a - -if MPITESTS -test_lock_cancel_SOURCES = test_lock_cancel.c -test_lock_cancel_CFLAGS = $(LL_CFLAGS) -I/opt/lam/include -test_lock_cancel_LDADD := $(LLIB_EXEC) -L/opt/lam/lib -lmpi -llam -endif - -