diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.am | 1 | ||||
-rw-r--r-- | test/Makefile.in | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index fda3267..3fa1690 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -25,6 +25,7 @@ INCLUDES=-I$(top_srcdir)/src -I$(top_builddir)/src # Test script for error_test and err_compat TEST_SCRIPT = $(top_srcdir)/test/testerror.sh check_SCRIPTS = $(TEST_SCRIPT) +SCRIPT_DEPEND = error_test$(EXEEXT) err_compat$(EXEEXT) # These are our main targets. They should be listed in the order to be diff --git a/test/Makefile.in b/test/Makefile.in index cf071f4..0f562ce 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -521,6 +521,7 @@ INCLUDES = -I$(top_srcdir)/src -I$(top_builddir)/src # Test script for error_test and err_compat TEST_SCRIPT = $(top_srcdir)/test/testerror.sh check_SCRIPTS = $(TEST_SCRIPT) +SCRIPT_DEPEND = error_test$(EXEEXT) err_compat$(EXEEXT) # These are our main targets. They should be listed in the order to be # executed, generally most specific tests to least specific tests. @@ -1151,7 +1152,7 @@ $(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummysh.chkexe_: tname=`basename $(@:.chkexe_=)`;\ log=`basename $(@:.chkexe_=.chklog)`; \ echo "============================"; \ - if $(top_srcdir)/bin/newer `basename $(@:.chkexe_=.chkexe)` $(@:.chkexe_=); then \ + if $(top_srcdir)/bin/newer `basename $(@:.chkexe_=.chkexe)` $(SCRIPT_DEPEND); then \ echo "No need to test $${tname} again."; \ else \ echo "============================" > $${log}; \ |