]> sourceware.org Git - automake.git/commitdiff
* tests/asm.test: Erase Autom4te's cache between each test.
authorAlexandre Duret-Lutz <adl@gnu.org>
Thu, 4 Jul 2002 15:55:21 +0000 (15:55 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Thu, 4 Jul 2002 15:55:21 +0000 (15:55 +0000)
ChangeLog
tests/asm.test

index f207a593ab1272915e5e50390dcc3fd5393c4168..41190502bc717c3ca5ba4ef1343df6cff1203802 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-07-04  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * tests/asm.test: Erase Autom4te's cache between each test.
+
 2002-07-03  Alexandre Duret-Lutz  <duret_g@epita.fr>
 
        * automake.in (am_macro_for_var): Add LIBTOOL.
index 5b1b838a8d2c1568e70aa5d64c529d6c5a4f41e3..7f003b328ed0d82d1dfd04760aa2a1307517d078 100755 (executable)
@@ -27,6 +27,14 @@ $AUTOMAKE 2>stderr && exit 1
 cat stderr
 grep AM_PROG_AS stderr
 
+# 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
+
 # We still need CCAS.
 echo 2
 cat > configure.in << 'END'
@@ -43,6 +51,7 @@ cat stderr
 grep CCAS stderr
 grep AM_PROG_AS stderr
 
+rm -rf autom4te*.cache
 
 # We need CCASFLAGS.
 echo 3
@@ -61,6 +70,7 @@ cat stderr
 grep CCASFLAGS stderr
 grep AM_PROG_AS stderr
 
+rm -rf autom4te*.cache
 
 # We have every needed, expect a success.
 echo 4
@@ -77,6 +87,7 @@ END
 $ACLOCAL
 $AUTOMAKE
 
+rm -rf autom4te*.cache
 
 # We have every needed, expect a success.
 echo 5
This page took 0.033385 seconds and 5 git commands to generate.