Fix bug in test `backcompat4.test' (stale autom4te cache).
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 9 Nov 2010 10:58:23 +0000 (11:58 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 9 Nov 2010 11:22:44 +0000 (12:22 +0100)
* tests/backcompat4.test: Remove stale autom4te cache directory
before re-running aclocal and automake.  Also, since we are at
it, be more verbose in displaying contents of generated files,
to ease debuggability.
Reported by Ralf Wildenhues.

ChangeLog
tests/backcompat4.test

index 6bbb49f..5bc575b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2010-11-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       Fix bug in test `backcompat4.test' (stale autom4te cache).
+       * tests/backcompat4.test: Remove stale autom4te cache directory
+       before re-running aclocal and automake.  Also, since we are at
+       it, be more verbose in displaying contents of generated files,
+       to ease debuggability.
+       Reported by Ralf Wildenhues.
+
 2010-11-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        New tests on obsoleted usages of automake/autoconf macros (such
index 1bee059..f0625ea 100755 (executable)
@@ -41,20 +41,24 @@ for args in \
   'foo:foo1.in:foo2.in:foo3.in' \
   'foo:foo1.in:foo2.in:sub/bar.in:foo3.in' \
 ; do
+  rm -rf autom4te*.cache aclocal.m4
   cat >configure.in <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_CONFIG_FILES([$args])
 AC_OUTPUT
 END
+  cat configure.in # for debugging
   $ACLOCAL
   $AUTOMAKE Makefile
   mv -f Makefile.in Makefile.acf
+  rm -rf autom4te*.cache aclocal.m4
   cat >configure.in <<END
 AC_INIT([$me], [1.0])
 AM_INIT_AUTOMAKE
 AC_OUTPUT([$args])
 END
+  cat configure.in # for debugging
   $ACLOCAL
   $AUTOMAKE Makefile
   mv -f Makefile.in Makefile.aco