From: Stefano Lattarini Date: Thu, 20 Oct 2011 15:44:04 +0000 (+0200) Subject: tests: fix spurious failure on fast machines X-Git-Tag: v1.11.1b~16^2~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8f8ec0e6c0dbcaa458e48efa7b5c64960e528bd;p=thirdparty%2Fautomake.git tests: fix spurious failure on fast machines * tests/aclocal-path-precedence.test: Also remove the `configure' script between different test runs, to ensure it is always remade by autoconf. Add proper explicative comments. --- diff --git a/ChangeLog b/ChangeLog index b79945c50..cd60ad60d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-10-20 Stefano Lattarini + + tests: fix spurious failure on fast machines + * tests/aclocal-path-precedence.test: Also remove the `configure' + script between different test runs, to ensure it is always remade + by autoconf. Add proper explicative comments. + 2011-10-17 Stefano Lattarini tests: fix spurious failure with autoconf 2.62 diff --git a/tests/aclocal-path-install-serial.test b/tests/aclocal-path-install-serial.test index 15b4204b4..511ccee31 100755 --- a/tests/aclocal-path-install-serial.test +++ b/tests/aclocal-path-install-serial.test @@ -45,7 +45,9 @@ win () pdir) ok=pdir ko=sdir;; *) fatal_ "win(): invalud argument \`$1'";; esac - rm -rf aclocal.m4 autom4te*.cache m4/* + # This is required on fast machine, to avoid caching and timestamp + # issues with the autotools (already happened in practice). + rm -rf configure aclocal.m4 autom4te*.cache m4/* $ACLOCAL -I m4 --install test -f m4/foo.m4 # Sanity check. $AUTOCONF