summaryrefslogtreecommitdiffstats
path: root/c++/test/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'c++/test/Makefile.in')
-rw-r--r--c++/test/Makefile.in14
1 files changed, 7 insertions, 7 deletions
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; \