From c0090025ecf76d8530ac8087527b46f0c70d804d Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 26 Apr 1995 22:50:29 +0000 Subject: [PATCH] configure.in: Check if runtest is present on system Makefile.in: Only run runtest if present on system. If not, echo message to user. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5528 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/dejagnu/Makefile.in | 11 +++++++++-- src/tests/dejagnu/configure.in | 1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/tests/dejagnu/Makefile.in b/src/tests/dejagnu/Makefile.in index f62849840..9ca7aa484 100644 --- a/src/tests/dejagnu/Makefile.in +++ b/src/tests/dejagnu/Makefile.in @@ -1,5 +1,12 @@ -RUNTEST = runtest +RUNTEST = @RUNTEST@ RUNTESTFLAGS = -check:: +all install:: + +check:: check-$(RUNTEST) + +check-:: + @echo "Dejagnu is not installed on this system. No tests run." + +check-runtest:: $(RUNTEST) --tool krb --srcdir $(srcdir) $(RUNTESTFLAGS) diff --git a/src/tests/dejagnu/configure.in b/src/tests/dejagnu/configure.in index 041a42dd0..b1175f95d 100644 --- a/src/tests/dejagnu/configure.in +++ b/src/tests/dejagnu/configure.in @@ -5,6 +5,7 @@ AC_CONFIG_FRAGMENTS(.. ../.. ../../.. ../../../.. ../../../../.. ../../../../../ AC_SUBST(BUILDTOP) BUILDTOP=[$]ac_reltopdir AC_PROG_INSTALL +AC_CHECK_PROG(RUNTEST,runtest,runtest) WITH_NETLIB KRB_INCLUDE WITH_KRB5ROOT -- 2.26.2