From: Stefano Lattarini Date: Wed, 2 May 2012 15:47:56 +0000 (+0200) Subject: tests: fix spurious failure due to autom4te caching X-Git-Tag: v1.12.0b~22 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a66cd033b740af00dbb8424aec3a8d5c499cc198;p=platform%2Fupstream%2Fautomake.git tests: fix spurious failure due to autom4te caching Reported by Peter Breitenlohner : * t/suffix.sh: Remove stale autom4te.cache directories, to prevent racy, spurious failures (using 'aclocal --force' was not enough, since the cache was still picked up by the following automake call). Signed-off-by: Stefano Lattarini --- diff --git a/t/suffix.sh b/t/suffix.sh index f9944cb..600aedf 100755 --- a/t/suffix.sh +++ b/t/suffix.sh @@ -32,6 +32,8 @@ END for use_arlib in false :; do + rm -rf autom4te*.cache + if $use_arlib; then am_warns= echo AM_PROG_AR >> configure.ac @@ -40,7 +42,7 @@ for use_arlib in false :; do am_warns=-Wno-extra-portability fi - $ACLOCAL --force + $ACLOCAL $AUTOMAKE $am_warns -i grep '^ *\.c' Makefile.in # For debugging.