summaryrefslogtreecommitdiffstats
path: root/testpar/Makefile.in
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2000-10-20 06:19:21 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2000-10-20 06:19:21 (GMT)
commitb3e4cd6e974e9a9debe24bd248bbe599bfd6c230 (patch)
treeac06eff6212bd09e801c53f023ef2a4c49f45fa1 /testpar/Makefile.in
parent114ac60d1b210884bc96c4189ba4641f7844ef8c (diff)
downloadhdf5-b3e4cd6e974e9a9debe24bd248bbe599bfd6c230.zip
hdf5-b3e4cd6e974e9a9debe24bd248bbe599bfd6c230.tar.gz
hdf5-b3e4cd6e974e9a9debe24bd248bbe599bfd6c230.tar.bz2
[svn-r2710] Purpose:
Features, kind of. Description: Separated the MPI features test into its own independent program so that it can be tested on its own without too much HDF5 stuff involved. Added automatic removal of temporary test files after the tests completed. Reduced the size of the dataset dimensions to avoid tripping the SGI MPI problems of running out of internal mpi type entries. Platforms tested: O2K -64
Diffstat (limited to 'testpar/Makefile.in')
-rw-r--r--testpar/Makefile.in16
1 files changed, 11 insertions, 5 deletions
diff --git a/testpar/Makefile.in b/testpar/Makefile.in
index 840f39d..d8428f8 100644
--- a/testpar/Makefile.in
+++ b/testpar/Makefile.in
@@ -19,22 +19,28 @@ LIBH5TEST=../test/libh5test.la
RUNTEST=$(RUNPARALLEL)
## These are our main targets
-TEST_PROGS=testphdf5
+TEST_PROGS=t_mpi testphdf5
## Temporary files
MOSTLYCLEAN=ParaEg[123].h5f
DISTCLEAN=go
## Test source files
-TEST_SRC=testphdf5.c t_dset.c t_file.c t_mpi.c t_mdset.c
+TEST_PHDF5_SRC=testphdf5.c t_dset.c t_file.c t_mdset.c
+TEST_PHDF5_OBJ=$(TEST_PHDF5_SRC:.c=.lo)
+TEST_SRC=t_mpi.c $(TEST_PHDF5_SRC)
TEST_OBJ=$(TEST_SRC:.c=.lo)
TEST_HDR=testphdf5.h
## How to build the tests... They all depend on the hdf5 library
$(TEST_PROGS): $(LIBHDF5) $(LIBH5TEST)
-testphdf5: $(TEST_OBJ)
- @$(LT_LINK_EXE) $(CFLAGS) -o $@ $(TEST_OBJ) $(LIBH5TEST) $(LIBHDF5) $(LDFLAGS) $(LIBS)
-
$(TEST_OBJ): $(TEST_HDR)
+
+t_mpi: t_mpi.lo
+ @$(LT_LINK_EXE) $(CFLAGS) -o $@ t_mpi.lo $(LIBH5TEST) $(LIBHDF5) $(LDFLAGS) $(LIBS)
+
+testphdf5: $(TEST_PHDF5_OBJ)
+ @$(LT_LINK_EXE) $(CFLAGS) -o $@ $(TEST_PHDF5_OBJ) $(LIBH5TEST) $(LIBHDF5) $(LDFLAGS) $(LIBS)
+
@CONCLUDE@