summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/conclude.in6
-rw-r--r--fortran/config/conclude.in6
2 files changed, 6 insertions, 6 deletions
diff --git a/config/conclude.in b/config/conclude.in
index ea2333f..197b778 100644
--- a/config/conclude.in
+++ b/config/conclude.in
@@ -28,8 +28,8 @@ check test _test: tests
echo "============================"; \
echo "Testing $$test $(TEST_FLAGS)"; \
echo "============================"; \
- PATH=".:$$PATH" srcdir=$(srcdir) \
- $(RUNTEST) $$test $(TEST_FLAGS) || \
+ srcdir="$(srcdir)" \
+ $(RUNTEST) ./$$test $(TEST_FLAGS) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
break; \
echo ""; \
@@ -42,7 +42,7 @@ check test _test: tests
echo "Testing $$test $(TEST_FLAGS)"; \
echo "============================"; \
RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \
- srcdir=$(srcdir) \
+ srcdir="$(srcdir)" \
/bin/sh $$test $(TEST_FLAGS) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
break; \
diff --git a/fortran/config/conclude.in b/fortran/config/conclude.in
index 3629ad8..6d8a181 100644
--- a/fortran/config/conclude.in
+++ b/fortran/config/conclude.in
@@ -26,8 +26,8 @@ check test _test: tests
echo "============================"; \
echo "Testing $$test $(TEST_FLAGS)"; \
echo "============================"; \
- PATH=".:$$PATH" srcdir=$(srcdir) \
- $(RUNTEST) $$test $(TEST_FLAGS) || \
+ srcdir="$(srcdir)" \
+ $(RUNTEST) ./$$test $(TEST_FLAGS) || \
exit 1; \
echo ""; \
fi; \
@@ -38,7 +38,7 @@ check test _test: tests
echo "Testing $$test $(TEST_FLAGS)"; \
echo "============================"; \
RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \
- srcdir=$(srcdir) \
+ srcdir="$(srcdir)" \
/bin/sh $$test $(TEST_FLAGS) || \
exit 1; \
echo ""; \