aboutsummaryrefslogtreecommitdiff
path: root/testsuite/Makefile.in
diff options
context:
space:
mode:
authorRob Savoye <rob@welcomehome.org>2001-04-06 15:58:26 +0000
committerRob Savoye <rob@welcomehome.org>2001-04-06 15:58:26 +0000
commit67f23aa1c6cbc0d31adfed48dbbf0b140b4bcc12 (patch)
tree73cff2319a769840816a92544cfc179c822aac64 /testsuite/Makefile.in
parent6280bb2cdb1ecc93f13098a026c323bea07de6f5 (diff)
* Makefile.am: Add an empty check-DEJAGNU target, cause we only
want to run the testsuite once. * example/Makefile.am: Don't run "calc" as part of check target, cause calc is just an example. * testsuite/Makefile.am: Use the runtest in the source tree, or refuse to run.
Diffstat (limited to 'testsuite/Makefile.in')
-rw-r--r--testsuite/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in
index 5ab2a58..21f9c9a 100644
--- a/testsuite/Makefile.in
+++ b/testsuite/Makefile.in
@@ -71,7 +71,11 @@ tclsh = @tclsh@
AUTOMAKE_OPTIONS = dejagnu
+RUNTEST = ` if [ -f ${top_srcdir}/runtest$(EXEEXT) ] ; then echo ${top_srcdir}/runtest$(EXEEXT) ; else echo "ERROR: runtest not found" ; exit 1; fi`
+
+
RUNTESTDEFAULTFLAGS = --tool runtest --srcdir $$srcdir
+CLEANFILES = *.log *.sum site.bak setval.tmp
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_CLEAN_FILES =
DIST_COMMON = Makefile.am Makefile.in
@@ -82,7 +86,6 @@ DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
GZIP_ENV = --best
EXPECT = expect
-RUNTEST = runtest
all: all-redirect
.SUFFIXES:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
@@ -172,6 +175,7 @@ installdirs:
mostlyclean-generic:
clean-generic:
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)