autoconf-patches
[Top][All Lists]
Advanced

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

Re: Autotest function usage


From: Eric Blake
Subject: Re: Autotest function usage
Date: Wed, 14 Nov 2007 22:10:15 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de> writes:

> 
> Here we go.  Could somebody please time this on w32?  Thanks.

I'll give it a shot when I have more time, but first...

> +  echo '}
> +emit == 0 && /address@hidden:@AT_START_/ {
> +  test = substr($ 0, 11);
> +  if (outfile[test]) {
> +    emit = 1
> +    print "cat >\"" outfile[test] "\" <<'\''_AT_T_EOF'\''"

...is echo '"\""' really portable?  It seems to me you are passing a \ to echo, 
which may or may not be interpreted as an escape.  Shouldn't you be using 
AS_ECHO?

> +# Create a test file that has more than 99 words in a line, for Solaris awk.
> +# While at that, try out the limit of 2000 bytes in a text file line.
> +
> +AT_CHECK_AT_TEST([Long test source lines],
> +[m4_for([nnn], [1], [999], [], [: ])
> +AT_CHECK([:])
> +])

Cute.

-- 
Eric Blake







reply via email to

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