autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autotest function usage


From: Ralf Wildenhues
Subject: Re: Autotest function usage
Date: Tue, 20 Nov 2007 22:08:43 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Hi Stepan,

* Stepan Kasal wrote on Tue, Nov 20, 2007 at 09:11:30PM CET:
> On Thu, Oct 18, 2007 at 11:24:14AM +0200, Ralf Wildenhues wrote:
> > If you want to get crazy, you can let awk exit after extracting the last
> > needed test.
> 
> that would be hard to resist!
> 
> Who knows, perhaps the attached one liner is enough?

Yes, it is.  More precisely, it was, at the time that code was current.
I don't mind such a change (except you need to forward port it now), but
apparently Paolo seemed to think it was ugly for some reason.

Cheers,
Ralf

> diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4
> index e50f0f8..d4fd15c 100644
> --- a/lib/autotest/general.m4
> +++ b/lib/autotest/general.m4
> @@ -880,6 +880,7 @@ emit == 0 && /address@hidden:@AT_START_/ {
>  }
>  emit != 0 && /address@hidden:@AT_STOP_/ {
>    print "_AT_T_EOF"
> +  if (test == '$at_group') exit
>    emit = 0
>  }
>  emit != 0 { print }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]