diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-05-02 17:47:56 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-05-02 17:59:54 +0200 |
commit | a66cd033b740af00dbb8424aec3a8d5c499cc198 (patch) | |
tree | 30b337b211c84e67bd2741d636d141ec009a7a08 /t/suffix.sh | |
parent | f9dbb0a6294fa6978833f9eb1b3286f076a8f986 (diff) | |
download | automake-a66cd033b740af00dbb8424aec3a8d5c499cc198.tar.gz |
tests: fix spurious failure due to autom4te caching
Reported by Peter Breitenlohner :
<http://lists.gnu.org/archive/html/automake-patches/2012-05/msg00045.html>
* 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 <stefano.lattarini@gmail.com>
Diffstat (limited to 't/suffix.sh')
-rwxr-xr-x | t/suffix.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/suffix.sh b/t/suffix.sh index f9944cb6c..600aedf1e 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. |