mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
[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:
parent
8f6dc0bc88
commit
a2e49651af
@ -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; \
|
||||
|
@ -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 ""; \
|
||||
|
Loading…
Reference in New Issue
Block a user