From: Eric Blake Date: Thu, 11 Sep 2008 02:06:05 +0000 (-0600) Subject: Avoid testsuite bug when autom4te cache is disabled by user. X-Git-Tag: v2.63b~296 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d484dea6d939d0e5dedf1c3fa5149ad2b46496;p=thirdparty%2Fautoconf.git 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 --- diff --git a/ChangeLog b/ChangeLog index fa0aa49d..073efdaa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2008-09-10 Eric Blake + 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 6285f3df..0123f825 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@&t@_foo If this token and others are legitimate, please use m4@&t@_pattern_allow.