From f8f8ec0e6c0dbcaa458e48efa7b5c64960e528bd Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Thu, 20 Oct 2011 17:44:04 +0200 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ tests/aclocal-path-install-serial.test | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) 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 -- 2.47.2