automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FYI] {maint} tests: fix spurious failure due to autom4te caching


From: Stefano Lattarini
Subject: [FYI] {maint} tests: fix spurious failure due to autom4te caching
Date: Sun, 22 Jan 2012 17:20:40 +0100

* tests/lzma.test: 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).
---
 tests/lzma.test |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tests/lzma.test b/tests/lzma.test
index 7ee59f7..bf65aea 100755
--- a/tests/lzma.test
+++ b/tests/lzma.test
@@ -40,7 +40,8 @@ test: distcheck
        test -f $(DIST_ARCHIVES)
 END
 
-$ACLOCAL --force
+rm -rf autom4te*.cache
+$ACLOCAL
 AUTOMAKE_fails
 grep "^configure\\.in:2:.*$errmsg" stderr
 
-- 
1.7.7.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]