autoconf-patches
[Top][All Lists]
Advanced

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

Re: [GNU Autoconf 2.63] testsuite: 8 failed


From: Eric Blake
Subject: Re: [GNU Autoconf 2.63] testsuite: 8 failed
Date: Wed, 10 Sep 2008 20:06:54 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Bruno Haible on 9/10/2008 4:26 PM:
> 
> When I rename my $HOME/.autom4te.cfg to some other filename, the test
> succeeds. When I rename it back, the test fails again.
> 
> The test is apparently assuming that the second autoconf run will produce no
> error messages because of the cache. But I disabled the cache on my machine...

Thanks for the report and analysis.  I'm applying this:

- --
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

iEYEARECAAYFAkjIfT4ACgkQ84KuGfSFAYDdMACfedtWJw7dTfDrdKg4mbLkoWtD
fZsAoI2bMxP/YLmM/MHDjiRo4ssISDKQ
=3RwS
-----END PGP SIGNATURE-----
>From 07d484dea6d939d0e5dedf1c3fa5149ad2b46496 Mon Sep 17 00:00:00 2001
From: Eric Blake <address@hidden>
Date: Wed, 10 Sep 2008 20:06:05 -0600
Subject: [PATCH] Avoid testsuite bug when autom4te cache is disabled by user.

* tests/tools.at (autoconf: forbidden tokens, basic): Enable
cache, even if user normally disabled it.
Reported by Bruno Haible.

Signed-off-by: Eric Blake <address@hidden>
---
 ChangeLog      |    5 +++++
 tests/tools.at |   10 ++++++++++
 2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index fa0aa49..073efda 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-09-10  Eric Blake  <address@hidden>
 
+       Avoid testsuite bug when autom4te cache is disabled by user.
+       * tests/tools.at (autoconf: forbidden tokens, basic): Enable
+       cache, even if user normally disabled it.
+       Reported by Bruno Haible.
+
        Avoid testsuite bug in presence of verbose config.site.
        * tests/base.at (Input/Output): Nullify config.site during test.
        Reported by Bob Friesenhahn.
diff --git a/tests/tools.at b/tests/tools.at
index 6285f3d..0123f82 100644
--- a/tests/tools.at
+++ b/tests/tools.at
@@ -347,6 +347,16 @@ _AS_BAR
 [dnl]
 ]])
 
+dnl This test needs autom4te's cache, in spite of any ~/.autom4te.cfg.
+AT_DATA([.autom4te.cfg], [[
+begin-language: "Autoconf"
+args: --cache=autom4te.cache
+end-language: "Autoconf"
+begin-language: "Autoconf-without-aclocal-m4"
+args: --cache=autom4te.cache
+end-language: "Autoconf-without-aclocal-m4"
+]])
+
 AT_CHECK_AUTOCONF([], 1, [],
 [[configure.ac:2: error: possibly undefined macro: m4@&address@hidden
       If this token and others are legitimate, please use m4@&address@hidden
-- 
1.6.0


reply via email to

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