diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/conclude.in | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/config/conclude.in b/config/conclude.in index 8eab342..a11ced7 100644 --- a/config/conclude.in +++ b/config/conclude.in @@ -20,9 +20,9 @@ TAGS: $(LIB_SRC) -etags $(LIB_SRC) # Runs each test in order, passing $(TEST_FLAGS) to the program. -tests: $(LIB) $(TESTS) +tests: $(TEST_PROGS) test _test: tests - @for test in $(TESTS) dummy; do \ + @for test in $(TEST_PROGS) dummy; do \ if test $$test != dummy; then \ echo "============================"; \ echo "Testing $$test $(TEST_FLAGS)"; \ @@ -31,6 +31,15 @@ test _test: tests echo ""; \ fi; \ done; + @for test in $(TEST_SCRIPTS) dummy; do \ + if test $$test != dummy; then \ + echo "============================"; \ + echo "Testing $$test $(TEST_FLAGS)"; \ + echo "============================"; \ + $(RUNTEST) /bin/sh ./$$test $(TEST_FLAGS) || exit 1; \ + echo ""; \ + fi; \ + done; # Install the library, the public header files, and programs. install: $(LIB) $(PUB_HDR) $(PROGS) @@ -76,7 +85,7 @@ mostlyclean: # is part of the HDF5 distribution. # clean: mostlyclean - $(RM) $(LIB) $(TESTS) $(PROGS) $(CLEAN) + $(RM) $(LIB) $(TEST_PROGS) $(PROGS) $(CLEAN) # Like `clean' except it also removes files that were created by running # configure. If you've unpacked the source and built HDF5 without creating |