m4-patches
[Top][All Lists]
Advanced

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

Re: more testsuite coverage for autoconf idioms


From: Eric Blake
Subject: Re: more testsuite coverage for autoconf idioms
Date: Wed, 7 Nov 2007 14:48:11 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Eric Blake <ebb9 <at> byu.net> writes:

> My work on $@ references turned up another failure that tripped autoconf,
> but not the testsuite.

And again.  Committing this to branch and head:

From: Eric Blake <address@hidden>
Date: Wed, 7 Nov 2007 07:40:21 -0700
Subject: [PATCH] More corner-case testing.

* doc/m4.texinfo (Pseudo Arguments): Test more corner cases.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog      |    4 ++++
 doc/m4.texinfo |    9 +++++++++
 2 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index bfd5de9..86d8ad4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-07  Eric Blake  <address@hidden>
+
+       * doc/m4.texinfo (Pseudo Arguments): Test more corner cases.
+
 2007-11-05  Eric Blake  <address@hidden>
 
        Use assert, rather than INTERNAL ERROR.
diff --git a/doc/m4.texinfo b/doc/m4.texinfo
index 9a1816b..f028e3d 100644
--- a/doc/m4.texinfo
+++ b/doc/m4.texinfo
@@ -1943,10 +1943,19 @@ foo)
 
 @example
 define(`echo', `$@@')dnl
+echo(echo(`01234567890123456789', `01234567890123456789')
+echo(`98765432109876543210', `98765432109876543210'))
address@hidden,01234567890123456789
address@hidden,98765432109876543210
 len((echo(`01234567890123456789',
           `01234567890123456789')echo(`98765432109876543210',
                                       `98765432109876543210')))
 @result{}84
+indir(`echo', indir(`echo', `01234567890123456789',
+                            `01234567890123456789')
+indir(`echo', `98765432109876543210', `98765432109876543210'))
address@hidden,01234567890123456789
address@hidden,98765432109876543210
 define(`argn', `$#')dnl
 define(`echo1', `-$@@-')define(`echo2', `,$@@,')dnl
 echo1(`1', `2', `3') argn(echo1(`1', `2', `3'))
-- 
1.5.3.2







reply via email to

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