]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix spurious failure on fast machines
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 20 Oct 2011 15:44:04 +0000 (17:44 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 20 Oct 2011 15:44:04 +0000 (17:44 +0200)
* 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
tests/aclocal-path-install-serial.test

index b79945c50db97567072c6581d1a42930bda9287b..cd60ad60dccbb4cad9e93567e0696e3d9c9d6e9f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-10-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       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  <stefano.lattarini@gmail.com>
 
        tests: fix spurious failure with autoconf 2.62
index 15b4204b4c414bd7d0345db4fde41d39d2d1e54d..511ccee31a0aa7af1506187a4eb400d69d1fb522 100755 (executable)
@@ -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