[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Update LINENO documentation.
From: |
Eric Blake |
Subject: |
Re: Update LINENO documentation. |
Date: |
Thu, 30 Oct 2008 18:51:21 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.17) Gecko/20080914 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Bob Proulx on 10/30/2008 1:17 PM:
> But something fails the tests:
>
> http://buildbot.proulx.com:9003/i686-gnu-linux/builds/1013/step-test/0
>
> 53: LINENO FAILED (m4sh.at:90)
Yep. The testsuite needs to be modified to match Paolo's most recent code
change. Done as follows:
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkkKVokACgkQ84KuGfSFAYCinACghgtU5vD2VPGx9j9vYLQ4mhyv
AJoAoKtr9lFw6y1u6sj0azlCY8ZTTPnC
=SDmN
-----END PGP SIGNATURE-----
>From a4ca1ca2669e1f73d10aec9674b84461d81dd431 Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Thu, 30 Oct 2008 18:50:39 -0600
Subject: [PATCH] Fix LINENO testsuite failure.
* tests/m4sh.at (AT_DATA_LINENO): Use AS_LINENO_PREPARE, not
undocumented _AS_PREPARE, and move unset earlier in script.
Signed-off-by: Eric Blake <address@hidden>
---
ChangeLog | 4 ++++
tests/m4sh.at | 4 +++-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b1be7a5..457d711 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-10-30 Eric Blake <address@hidden>
+ Fix LINENO testsuite failure.
+ * tests/m4sh.at (AT_DATA_LINENO): Use AS_LINENO_PREPARE, not
+ undocumented _AS_PREPARE, and move unset earlier in script.
+
Update LINENO documentation.
* doc/autoconf.texi (Initialization Macros) <AS_INIT_GENERATED>:
(Special Shell Variables) <LINENO>: Mention that LINENO support in
diff --git a/tests/m4sh.at b/tests/m4sh.at
index e90e231..55363d8 100644
--- a/tests/m4sh.at
+++ b/tests/m4sh.at
@@ -52,10 +52,12 @@ AT_CHECK([test -n "${ZSH_VERSION+set}" && exit 77], ignore)
m4_define([AT_DATA_LINENO],
[AT_DATA([$1.tas],
[[AS@&address@hidden
+m4@&address@hidden([0], [
if $2; then
AS@&address@hidden([LINENO])
fi
-_AS@&address@hidden
+])
+AS@&address@hidden
echo "Line: $3"
grep 'Line: .*$4' "$[0]" >/dev/null ||
AS@&address@hidden([cannot find original script])
--
1.6.0.2
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Update LINENO documentation.,
Eric Blake <=