From: Alexandre Duret-Lutz Date: Thu, 4 Jul 2002 15:55:22 +0000 (+0000) Subject: * tests/asm.test: Erase Autom4te's cache between each test. X-Git-Tag: Release-1-6b~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b8111a69c0e3ef020cb6183c197e7b97bcf2bd2;p=thirdparty%2Fautomake.git * tests/asm.test: Erase Autom4te's cache between each test. --- diff --git a/ChangeLog b/ChangeLog index f207a593a..41190502b 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 5b1b838a8..7f003b328 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