From a2e49651af8f3a372933aba41db446b353f83884 Mon Sep 17 00:00:00 2001
From: Bill Wendling <wendling@ncsa.uiuc.edu>
Date: Wed, 18 Oct 2000 11:47:04 -0500
Subject: [svn-r2696] Purpose: 	Bug Fix Description: 	On some platforms, if
 you don't have . in your PATH, it won't 	find the test program it's
 supposed to run. Solution: 	Changed instead to ./$$test so that it picks
 up the program in 	the current directory. Platforms tested: 	Opus
 and Linux

---
 config/conclude.in         | 6 +++---
 fortran/config/conclude.in | 6 +++---
 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 "";							      \
-- 
cgit v0.12