From: Ken Raeburn Date: Thu, 18 Jul 2002 01:11:14 +0000 (+0000) Subject: use @HAVE_RUNTEST@ in deciding which tests to run X-Git-Tag: krb5-1.3-alpha1~558 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=78630f57435c5ff447885e8bc9e62776083da6eb;p=krb5.git use @HAVE_RUNTEST@ in deciding which tests to run git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14661 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/dejagnu/ChangeLog b/src/tests/dejagnu/ChangeLog index 6ceb36979..374243359 100644 --- a/src/tests/dejagnu/ChangeLog +++ b/src/tests/dejagnu/ChangeLog @@ -1,3 +1,10 @@ +2002-07-17 Ken Raeburn + + * Makefile.in (RUNTEST): Variable renamed from HAVE_RUNTEST. + (check): Depend on check-runtest-@HAVE_RUNTEST@. + (check-runtest-yes, check-runtest-no): Renamed from check-runtest, + check-. + 2002-07-12 Ken Raeburn * Makefile.in (HAVE_RUNTEST): Include $(DEJAFLAGS). diff --git a/src/tests/dejagnu/Makefile.in b/src/tests/dejagnu/Makefile.in index fa4742526..4400c98b0 100644 --- a/src/tests/dejagnu/Makefile.in +++ b/src/tests/dejagnu/Makefile.in @@ -2,7 +2,7 @@ thisconfigdir=./.. myfulldir=tests/dejagnu mydir=dejagnu BUILDTOP=$(REL)$(U)$(S)$(U) -HAVE_RUNTEST = @RUNTEST@ $(DEJAFLAGS) +RUNTEST = @RUNTEST@ $(DEJAFLAGS) RUNTESTFLAGS = KRB5_RUN_ENV= @KRB5_RUN_ENV@ PROG_LIBPATH=-L$(TOPLIBD) @@ -13,16 +13,16 @@ SRCS=$(srcdir)/t_inetd.c all install:: -check:: check-$(HAVE_RUNTEST) +check:: check-runtest-@HAVE_RUNTEST@ -check-:: +check-runtest-no:: @echo "+++" @echo "+++ WARNING: tests/dejagnu tests not run." @echo "+++ runtest is unavailable." @echo "+++" -check-runtest:: t_inetd site.exp - $(HAVE_RUNTEST) --tool krb --srcdir $(srcdir) $(KRB4_RUNTESTFLAGS) $(RUNTESTFLAGS) +check-runtest-yes:: t_inetd site.exp + $(RUNTEST) --tool krb --srcdir $(srcdir) $(KRB4_RUNTESTFLAGS) $(RUNTESTFLAGS) t_inetd:: t_inetd.o $(KRB5_BASE_DEPLIBS) $(CC_LINK) -o t_inetd t_inetd.o $(KRB5_BASE_LIBS)