Hi Stefano,

* Stefano Lattarini wrote on Wed, Dec 22, 2010 at 11:55:04PM CET:
> Attached is what I pushed (to *master* only).

> From 7e7a8a6497cbc2473a3e25dd1067f2d44346325e Mon Sep 17 00:00:00 2001
> From: Stefano Lattarini <stefano.lattar...@gmail.com>
> Date: Tue, 21 Dec 2010 22:59:19 +0100
> Subject: [PATCH] Add some tests on 'cygnus' mode.
> 
> * tests/clean2.test: Extend.
> * tests/cygnus-check-without-all.test: New test.
> * tests/cygnus-dependency-tracking.test: Likewise.
> * tests/cygnus-distclean.test: Likewise.
> * tests/cygnus-imply-foreign.test: Likewise.
> * tests/cygnus-no-dist.test: Likewise.
> * tests/cygnus-no-installinfo.test: Likewise.
> * tests/cygnus-requires-maintainer-mode.test: Likewise.
> * tests/Makefile.am (TESTS): Update.

Thank you.  I'm pushing this followup patch to fix spurious failures of
the test on fast systems.  I'll be opening a PR for the underlying issue
in a minute.

Cheers,
Ralf

    Fix caching bug in cygnus mode test.
    
    * tests/cygnus-requires-maintainer-mode.test: Remove
    autom4te.cache directory before rerunning aclocal, to
    remove trace caches.

diff --git a/tests/cygnus-requires-maintainer-mode.test 
b/tests/cygnus-requires-maintainer-mode.test
index 4f893f2..f6db92d 100755
--- a/tests/cygnus-requires-maintainer-mode.test
+++ b/tests/cygnus-requires-maintainer-mode.test
@@ -39,6 +39,7 @@ cat > sub/Makefile.am <<'END'
 AUTOMAKE_OPTIONS = cygnus
 END
 
+rm -rf autom4te.cache
 $ACLOCAL
 AUTOMAKE_fails
 grep '^configure\.in:.*AM_MAINTAINER_MODE.*required.*cygnus' stderr
@@ -47,6 +48,7 @@ cat >> configure.in <<'END'
 AM_MAINTAINER_MODE
 END
 
+rm -rf autom4te.cache
 $ACLOCAL
 $AUTOMAKE --cygnus
 


Reply via email to