[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
This commit is contained in:
Bill Wendling 2000-10-18 11:47:04 -05:00
parent 8f6dc0bc88
commit a2e49651af
2 changed files with 6 additions and 6 deletions

View File

@ -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; \

View File

@ -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 ""; \