]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Avoid testsuite bug when autom4te cache is disabled by user.
authorEric Blake <ebb9@byu.net>
Thu, 11 Sep 2008 02:06:05 +0000 (20:06 -0600)
committerEric Blake <ebb9@byu.net>
Thu, 11 Sep 2008 02:06:05 +0000 (20:06 -0600)
* tests/tools.at (autoconf: forbidden tokens, basic): Enable
cache, even if user normally disabled it.
Reported by Bruno Haible.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
tests/tools.at

index fa0aa49d404cf309e2e4d2e3abb10bc6e76a1f7f..073efdaa6fc9fda9ef3d499104cddb7a5672b61c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-09-10  Eric Blake  <ebb9@byu.net>
 
+       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.
index 6285f3dfa0839f7c99e6ec249a505d22ffe897a2..0123f825e0356cae6400a4a76a675638490a092b 100644 (file)
@@ -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@&t@_foo
       If this token and others are legitimate, please use m4@&t@_pattern_allow.