X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fliblustre%2Ftests%2FMakefile.am;h=bbc30e8d8785a39c9e6fedd3ddc10f500ab2b215;hb=df45a07614e4ec941d482e618edb629f71ac585c;hp=9ed59aa0b5149b01bf25fd5536b9720f0378227f;hpb=113303973ec9f8484eb2355a1a6ef3c4c7fd6a56;p=fs%2Flustre-release.git diff --git a/lustre/liblustre/tests/Makefile.am b/lustre/liblustre/tests/Makefile.am index 9ed59aa..bbc30e8 100644 --- a/lustre/liblustre/tests/Makefile.am +++ b/lustre/liblustre/tests/Makefile.am @@ -4,28 +4,31 @@ AM_CPPFLAGS = -I$(SYSIO)/include -I/opt/lam/include $(LLCPPFLAGS) -I$(top_srcdir AM_CFLAGS = $(LLCFLAGS) AM_LIBS = $(LIBEFENCE) $(LIBREADLINE) -LLIB_EXEC = $(top_builddir)/lustre/utils/liblustreapi.a $(top_builddir)/lustre/liblustre/liblustre.a $(CAP_LIBS) $(PTHREAD_LIBS) +LLIB_EXEC = $(top_builddir)/lustre/utils/liblustreapi.a $(top_builddir)/lustre/liblustre/liblustre.a $(CAP_LIBS) $(PTHREAD_LIBS) $(ZLIB) if LIBLUSTRE noinst_LIBRARIES = libtestcommon.a if LIBLUSTRE_TESTS -noinst_PROGRAMS = sanity recovery_small replay_single replay_ost_single echo_test +noinst_PROGRAMS = sanity + +if !CRAY_XT3 +noinst_PROGRAMS += recovery_small replay_single replay_ost_single +endif # !CRAY_XT3 if MPITESTS noinst_PROGRAMS += test_lock_cancel endif # MPITESTS +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 -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 - sanity_SOURCES = sanity.c sanity_CFLAGS = $(LL_CFLAGS) sanity_LDADD := libtestcommon.a $(LLIB_EXEC) @@ -49,7 +52,8 @@ replay_ost_single_DEPENDENCIES = $(top_builddir)/lustre/liblustre/liblustre.a li 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 +#test_lock_cancel_LDADD := $(LLIB_EXEC) -L/opt/lam/lib -lmpi -llam +test_lock_cancel_LDADD := $(LLIB_EXEC) -lmpich endif