]> sourceware.org Git - automake.git/commitdiff
* tests/warnopts.test: Fix random failures by removing Autoconf
authorPavel Roskin <proski@gnu.org>
Thu, 19 Sep 2002 19:04:09 +0000 (19:04 +0000)
committerPavel Roskin <proski@gnu.org>
Thu, 19 Sep 2002 19:04:09 +0000 (19:04 +0000)
cache directory whan configure.in changes.  Use the code and the
comment from tests/asm.test.

ChangeLog
tests/warnopts.test

index 81fbfe16dd73e920326e0022953be677057c9867..4dc5b58fa83dbaea7731af32b8bc6d730e248675 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2002-09-19  Pavel Roskin  <proski@gnu.org>
+
+       * tests/warnopts.test: Fix random failures by removing Autoconf
+       cache directory whan configure.in changes.  Use the code and the
+       comment from tests/asm.test.
+
 2002-09-19  Alexandre Duret-Lutz  <duret_g@epita.fr>
 
        * automake.texi (Program and Library Variables) <maude_LIBADD>:
index 68292575012f1d58bdc670caae4e729ea94a420e..f222280f6b351fc2ceade0384e3d98adb654df47 100755 (executable)
@@ -61,6 +61,14 @@ grep '^Makefile.am:.*INCLUDES' stderr && exit 1
 # Only two lines of warnings.
 test `wc -l < stderr` = 2
 
+# On fast machines the autom4te.cache created during the above run of
+# $AUTOMAKE is likely to have the same time stamp as the configure.in
+# created below; thus causing traces for the old configure.in to be
+# used.  We could do `sleep 2', but it's faster to erase the
+# directory.  (Erase autom4te*.cache, not autom4te.cache, because some
+# bogus installations of Autoconf use a versioned cache.)
+rm -rf autom4te*.cache
+
 # If we add a global -Wnone, all warnings should disappear.
 cat >configure.in <<END
 AC_INIT([warnopts], [1.0])
This page took 0.030096 seconds and 5 git commands to generate.