summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2005-07-01 21:22:05 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2005-07-01 21:22:05 (GMT)
commit4cf99e9f288d42bc756f1585c72ad584620fdec9 (patch)
tree6afb773f29111823616e8053c07f902879a5a6ef /tools
parent0c4c63411776a44a9721c9ef26e96a6e2f225b99 (diff)
downloadhdf5-4cf99e9f288d42bc756f1585c72ad584620fdec9.zip
hdf5-4cf99e9f288d42bc756f1585c72ad584620fdec9.tar.gz
hdf5-4cf99e9f288d42bc756f1585c72ad584620fdec9.tar.bz2
[svn-r11013] Purpose:
Bug fix Description: Fixed bugs that caused tests to be unable to find testhdf5.sh during daily tests, and another that broke sol and shanti. Solution: When tests are run, their path is ./$testname . When scripts are run, their path has no leading "./". Fixed. Sol and shanti don't recognize the -e option for test, but they do know -f. Fixed. Also modified release notes. Platforms tested: mir, shanti, heping
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.in14
-rw-r--r--tools/gifconv/Makefile.in14
-rw-r--r--tools/h5diff/Makefile.in14
-rw-r--r--tools/h5dump/Makefile.in14
-rwxr-xr-xtools/h5import/Makefile.in14
-rw-r--r--tools/h5jam/Makefile.in14
-rw-r--r--tools/h5ls/Makefile.in14
-rw-r--r--tools/h5repack/Makefile.in14
-rw-r--r--tools/lib/Makefile.in14
-rw-r--r--tools/misc/Makefile.in14
10 files changed, 70 insertions, 70 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 69fdb92..bcbe036 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -667,10 +667,10 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH)
# The .chkexe_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
- @if test "X$@" != "X.chkexe_"; then \
+$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_:
+ @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \
echo "============================"; \
- if test -e $(@:.chkexe_=.chkexe) && \
+ if test -f $(@:.chkexe_=.chkexe) && \
test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \
echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \
else \
@@ -695,10 +695,10 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
# The .chksh_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
- @if test "X$@" != "X.chksh_"; then \
+$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_:
+ @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \
echo "============================"; \
- if test -e $(@:.chksh_=.chksh) && \
+ if test -f $(@:.chksh_=.chksh) && \
test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \
echo "No need to test $(@:.chksh_=) again."; \
else \
@@ -712,7 +712,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
echo "============================"; \
RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \
srcdir="$(srcdir)" \
- $(SHELL) ./$(@:.chksh_=) $(TEST_FLAGS) \
+ $(SHELL) $(@:.chksh_=) $(TEST_FLAGS) \
&& touch $(@:.chksh_=.chksh) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
exit 1; \
diff --git a/tools/gifconv/Makefile.in b/tools/gifconv/Makefile.in
index 6cdaaac..ade4183 100644
--- a/tools/gifconv/Makefile.in
+++ b/tools/gifconv/Makefile.in
@@ -670,10 +670,10 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH)
# The .chkexe_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
- @if test "X$@" != "X.chkexe_"; then \
+$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_:
+ @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \
echo "============================"; \
- if test -e $(@:.chkexe_=.chkexe) && \
+ if test -f $(@:.chkexe_=.chkexe) && \
test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \
echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \
else \
@@ -698,10 +698,10 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
# The .chksh_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
- @if test "X$@" != "X.chksh_"; then \
+$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_:
+ @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \
echo "============================"; \
- if test -e $(@:.chksh_=.chksh) && \
+ if test -f $(@:.chksh_=.chksh) && \
test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \
echo "No need to test $(@:.chksh_=) again."; \
else \
@@ -715,7 +715,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
echo "============================"; \
RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \
srcdir="$(srcdir)" \
- $(SHELL) ./$(@:.chksh_=) $(TEST_FLAGS) \
+ $(SHELL) $(@:.chksh_=) $(TEST_FLAGS) \
&& touch $(@:.chksh_=.chksh) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
exit 1; \
diff --git a/tools/h5diff/Makefile.in b/tools/h5diff/Makefile.in
index 27606ff..bf38e6d 100644
--- a/tools/h5diff/Makefile.in
+++ b/tools/h5diff/Makefile.in
@@ -708,10 +708,10 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH)
# The .chkexe_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
- @if test "X$@" != "X.chkexe_"; then \
+$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_:
+ @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \
echo "============================"; \
- if test -e $(@:.chkexe_=.chkexe) && \
+ if test -f $(@:.chkexe_=.chkexe) && \
test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \
echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \
else \
@@ -736,10 +736,10 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
# The .chksh_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
- @if test "X$@" != "X.chksh_"; then \
+$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_:
+ @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \
echo "============================"; \
- if test -e $(@:.chksh_=.chksh) && \
+ if test -f $(@:.chksh_=.chksh) && \
test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \
echo "No need to test $(@:.chksh_=) again."; \
else \
@@ -753,7 +753,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
echo "============================"; \
RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \
srcdir="$(srcdir)" \
- $(SHELL) ./$(@:.chksh_=) $(TEST_FLAGS) \
+ $(SHELL) $(@:.chksh_=) $(TEST_FLAGS) \
&& touch $(@:.chksh_=.chksh) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
exit 1; \
diff --git a/tools/h5dump/Makefile.in b/tools/h5dump/Makefile.in
index 50d6ece..0ddb4b4 100644
--- a/tools/h5dump/Makefile.in
+++ b/tools/h5dump/Makefile.in
@@ -684,10 +684,10 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH)
# The .chkexe_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
- @if test "X$@" != "X.chkexe_"; then \
+$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_:
+ @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \
echo "============================"; \
- if test -e $(@:.chkexe_=.chkexe) && \
+ if test -f $(@:.chkexe_=.chkexe) && \
test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \
echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \
else \
@@ -712,10 +712,10 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
# The .chksh_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
- @if test "X$@" != "X.chksh_"; then \
+$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_:
+ @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \
echo "============================"; \
- if test -e $(@:.chksh_=.chksh) && \
+ if test -f $(@:.chksh_=.chksh) && \
test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \
echo "No need to test $(@:.chksh_=) again."; \
else \
@@ -729,7 +729,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
echo "============================"; \
RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \
srcdir="$(srcdir)" \
- $(SHELL) ./$(@:.chksh_=) $(TEST_FLAGS) \
+ $(SHELL) $(@:.chksh_=) $(TEST_FLAGS) \
&& touch $(@:.chksh_=.chksh) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
exit 1; \
diff --git a/tools/h5import/Makefile.in b/tools/h5import/Makefile.in
index b9333e6..edcc1f4 100755
--- a/tools/h5import/Makefile.in
+++ b/tools/h5import/Makefile.in
@@ -677,10 +677,10 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH)
# The .chkexe_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
- @if test "X$@" != "X.chkexe_"; then \
+$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_:
+ @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \
echo "============================"; \
- if test -e $(@:.chkexe_=.chkexe) && \
+ if test -f $(@:.chkexe_=.chkexe) && \
test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \
echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \
else \
@@ -705,10 +705,10 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
# The .chksh_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
- @if test "X$@" != "X.chksh_"; then \
+$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_:
+ @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \
echo "============================"; \
- if test -e $(@:.chksh_=.chksh) && \
+ if test -f $(@:.chksh_=.chksh) && \
test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \
echo "No need to test $(@:.chksh_=) again."; \
else \
@@ -722,7 +722,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
echo "============================"; \
RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \
srcdir="$(srcdir)" \
- $(SHELL) ./$(@:.chksh_=) $(TEST_FLAGS) \
+ $(SHELL) $(@:.chksh_=) $(TEST_FLAGS) \
&& touch $(@:.chksh_=.chksh) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
exit 1; \
diff --git a/tools/h5jam/Makefile.in b/tools/h5jam/Makefile.in
index 12a6f6e..87e9e3e 100644
--- a/tools/h5jam/Makefile.in
+++ b/tools/h5jam/Makefile.in
@@ -701,10 +701,10 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH)
# The .chkexe_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
- @if test "X$@" != "X.chkexe_"; then \
+$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_:
+ @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \
echo "============================"; \
- if test -e $(@:.chkexe_=.chkexe) && \
+ if test -f $(@:.chkexe_=.chkexe) && \
test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \
echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \
else \
@@ -729,10 +729,10 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
# The .chksh_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
- @if test "X$@" != "X.chksh_"; then \
+$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_:
+ @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \
echo "============================"; \
- if test -e $(@:.chksh_=.chksh) && \
+ if test -f $(@:.chksh_=.chksh) && \
test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \
echo "No need to test $(@:.chksh_=) again."; \
else \
@@ -746,7 +746,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
echo "============================"; \
RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \
srcdir="$(srcdir)" \
- $(SHELL) ./$(@:.chksh_=) $(TEST_FLAGS) \
+ $(SHELL) $(@:.chksh_=) $(TEST_FLAGS) \
&& touch $(@:.chksh_=.chksh) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
exit 1; \
diff --git a/tools/h5ls/Makefile.in b/tools/h5ls/Makefile.in
index e3582a0..2d464e0 100644
--- a/tools/h5ls/Makefile.in
+++ b/tools/h5ls/Makefile.in
@@ -657,10 +657,10 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH)
# The .chkexe_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
- @if test "X$@" != "X.chkexe_"; then \
+$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_:
+ @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \
echo "============================"; \
- if test -e $(@:.chkexe_=.chkexe) && \
+ if test -f $(@:.chkexe_=.chkexe) && \
test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \
echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \
else \
@@ -685,10 +685,10 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
# The .chksh_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
- @if test "X$@" != "X.chksh_"; then \
+$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_:
+ @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \
echo "============================"; \
- if test -e $(@:.chksh_=.chksh) && \
+ if test -f $(@:.chksh_=.chksh) && \
test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \
echo "No need to test $(@:.chksh_=) again."; \
else \
@@ -702,7 +702,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
echo "============================"; \
RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \
srcdir="$(srcdir)" \
- $(SHELL) ./$(@:.chksh_=) $(TEST_FLAGS) \
+ $(SHELL) $(@:.chksh_=) $(TEST_FLAGS) \
&& touch $(@:.chksh_=.chksh) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
exit 1; \
diff --git a/tools/h5repack/Makefile.in b/tools/h5repack/Makefile.in
index d067667..3d2635a 100644
--- a/tools/h5repack/Makefile.in
+++ b/tools/h5repack/Makefile.in
@@ -734,10 +734,10 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH)
# The .chkexe_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
- @if test "X$@" != "X.chkexe_"; then \
+$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_:
+ @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \
echo "============================"; \
- if test -e $(@:.chkexe_=.chkexe) && \
+ if test -f $(@:.chkexe_=.chkexe) && \
test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \
echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \
else \
@@ -762,10 +762,10 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
# The .chksh_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
- @if test "X$@" != "X.chksh_"; then \
+$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_:
+ @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \
echo "============================"; \
- if test -e $(@:.chksh_=.chksh) && \
+ if test -f $(@:.chksh_=.chksh) && \
test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \
echo "No need to test $(@:.chksh_=) again."; \
else \
@@ -779,7 +779,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
echo "============================"; \
RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \
srcdir="$(srcdir)" \
- $(SHELL) ./$(@:.chksh_=) $(TEST_FLAGS) \
+ $(SHELL) $(@:.chksh_=) $(TEST_FLAGS) \
&& touch $(@:.chksh_=.chksh) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
exit 1; \
diff --git a/tools/lib/Makefile.in b/tools/lib/Makefile.in
index bced05d..7a7ff20 100644
--- a/tools/lib/Makefile.in
+++ b/tools/lib/Makefile.in
@@ -674,10 +674,10 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH)
# The .chkexe_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
- @if test "X$@" != "X.chkexe_"; then \
+$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_:
+ @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \
echo "============================"; \
- if test -e $(@:.chkexe_=.chkexe) && \
+ if test -f $(@:.chkexe_=.chkexe) && \
test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \
echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \
else \
@@ -702,10 +702,10 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
# The .chksh_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
- @if test "X$@" != "X.chksh_"; then \
+$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_:
+ @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \
echo "============================"; \
- if test -e $(@:.chksh_=.chksh) && \
+ if test -f $(@:.chksh_=.chksh) && \
test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \
echo "No need to test $(@:.chksh_=) again."; \
else \
@@ -719,7 +719,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
echo "============================"; \
RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \
srcdir="$(srcdir)" \
- $(SHELL) ./$(@:.chksh_=) $(TEST_FLAGS) \
+ $(SHELL) $(@:.chksh_=) $(TEST_FLAGS) \
&& touch $(@:.chksh_=.chksh) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
exit 1; \
diff --git a/tools/misc/Makefile.in b/tools/misc/Makefile.in
index 21806d2..dd54f02 100644
--- a/tools/misc/Makefile.in
+++ b/tools/misc/Makefile.in
@@ -767,10 +767,10 @@ _exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH)
# The .chkexe_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
- @if test "X$@" != "X.chkexe_"; then \
+$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_:
+ @if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \
echo "============================"; \
- if test -e $(@:.chkexe_=.chkexe) && \
+ if test -f $(@:.chkexe_=.chkexe) && \
test $(@:.chkexe_=.chkexe) -nt $(@:.chkexe_=)$(EXEEXT); then \
echo "No need to test $(@:.chkexe_=)$(EXEEXT) again."; \
else \
@@ -795,10 +795,10 @@ $(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) .chkexe_:
# The .chksh_ here is the "dummy" that prevents the target from being
# empty if there are no tests in the current directory.
-$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
- @if test "X$@" != "X.chksh_"; then \
+$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummy.chksh_:
+ @if test "X$@" != "X.chksh_" && test "X$@" != "Xdummy.chksh_"; then \
echo "============================"; \
- if test -e $(@:.chksh_=.chksh) && \
+ if test -f $(@:.chksh_=.chksh) && \
test $(@:.chksh_=.chksh) -nt $(@:.chksh_=); then \
echo "No need to test $(@:.chksh_=) again."; \
else \
@@ -812,7 +812,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) .chksh_:
echo "============================"; \
RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \
srcdir="$(srcdir)" \
- $(SHELL) ./$(@:.chksh_=) $(TEST_FLAGS) \
+ $(SHELL) $(@:.chksh_=) $(TEST_FLAGS) \
&& touch $(@:.chksh_=.chksh) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
exit 1; \