summaryrefslogtreecommitdiffstats
path: root/c++
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 /c++
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 'c++')
-rw-r--r--c++/Makefile.in14
-rw-r--r--c++/examples/Makefile.in14
-rw-r--r--c++/src/Makefile.in14
-rw-r--r--c++/test/Makefile.in14
4 files changed, 28 insertions, 28 deletions
diff --git a/c++/Makefile.in b/c++/Makefile.in
index 971b8f5..93ae380 100644
--- a/c++/Makefile.in
+++ b/c++/Makefile.in
@@ -688,10 +688,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 \
@@ -716,10 +716,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 \
@@ -733,7 +733,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/c++/examples/Makefile.in b/c++/examples/Makefile.in
index dec6475..c32ffae 100644
--- a/c++/examples/Makefile.in
+++ b/c++/examples/Makefile.in
@@ -579,10 +579,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 \
@@ -607,10 +607,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 \
@@ -624,7 +624,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/c++/src/Makefile.in b/c++/src/Makefile.in
index 14b13a0..8ad24cf 100644
--- a/c++/src/Makefile.in
+++ b/c++/src/Makefile.in
@@ -766,10 +766,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 \
@@ -794,10 +794,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 \
@@ -811,7 +811,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/c++/test/Makefile.in b/c++/test/Makefile.in
index 7a39216..c90de39 100644
--- a/c++/test/Makefile.in
+++ b/c++/test/Makefile.in
@@ -654,10 +654,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 \
@@ -682,10 +682,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 \
@@ -699,7 +699,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; \