From 9f3fa3d14d15b6efc00101e31ab038526cd41574 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Thu, 4 Jul 2002 15:55:21 +0000 Subject: [PATCH] * tests/asm.test: Erase Autom4te's cache between each test. --- ChangeLog | 4 ++++ tests/asm.test | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index f207a593..41190502 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-07-04 Alexandre Duret-Lutz + + * tests/asm.test: Erase Autom4te's cache between each test. + 2002-07-03 Alexandre Duret-Lutz * automake.in (am_macro_for_var): Add LIBTOOL. diff --git a/tests/asm.test b/tests/asm.test index 5b1b838a..7f003b32 100755 --- a/tests/asm.test +++ b/tests/asm.test @@ -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 -- 2.43.5