diff options
Diffstat (limited to 'config/conclude.in')
-rw-r--r-- | config/conclude.in | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/config/conclude.in b/config/conclude.in index 622cc65..7777a45 100644 --- a/config/conclude.in +++ b/config/conclude.in @@ -21,7 +21,7 @@ TAGS: $(LIB_SRC) ## Runs each test in order, passing $(TEST_FLAGS) to the program. ## Since tests are done in a shell loop, "make -i" does apply inside it. ## Set HDF5_Make_Ignore to a non-blank string to ignore errors inside the loop. -tests: $(TEST_PROGS) $(LIB) +tests: $(TEST_PROGS) $(TEST_PROGS_PARA) $(LIB) check test _test: tests @for test in $(TEST_PROGS) dummy; do \ if test $$test != dummy; then \ @@ -36,6 +36,19 @@ check test _test: tests fi; \ done; \ test $$test = dummy || false + @for test in $(TEST_PROGS_PARA) dummy; do \ + if test $$test != dummy; then \ + echo "============================"; \ + echo "Testing $$test $(TEST_FLAGS)"; \ + echo "============================"; \ + srcdir="$(srcdir)" \ + $(RUNPARALLEL) ./$$test $(TEST_FLAGS) || \ + (test $$HDF5_Make_Ignore && echo "*** Error ignored") || \ + break; \ + echo ""; \ + fi; \ + done; \ + test $$test = dummy || false @for test in $(TEST_SCRIPTS) dummy; do \ if test $$test != dummy; then \ echo "============================"; \ @@ -158,7 +171,7 @@ clean: mostlyclean (set -x; cd $$d; $(MAKE) $@) || exit 1; \ fi; \ done - -$(RM) $(LIB) $(TEST_PROGS) $(PROGS) $(CLEAN) + -$(RM) $(LIB) $(TEST_PROGS) $(TEST_PROGS_PARA) $(PROGS) $(CLEAN) -$(RM) -r .libs ## Like `clean' except it also removes files that were created by running |