Merge branch 'tests-init'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 22 Dec 2010 20:01:07 +0000 (21:01 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 22 Dec 2010 20:01:07 +0000 (21:01 +0100)
1  2 
ChangeLog
tests/help2.test
tests/help4.test

diff --cc ChangeLog
index c3e6d3ac305a341071dbdcde0f3eac9ab72916de,2ea4caa7b0041a39e6392bf71883960c2fff2359..2c057a101e44a8a096002f53a15042bd6889f6b9
+++ b/ChangeLog
+ 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       Fix parallel testsuite run with Zsh.
+       This change deals with a Zsh incompatibility in the handling
+       of the special shell variable `$0' in sourced files; this
+       incompatibility used to cause utter breakage when the
+       Automake testsuite was run in parallel mode with Zsh as
+       the $(TEST_LOG_COMPILER).
+       For more information, please refer to the thread "Fix parallel
+       testsuite run with zsh" on automake-patches, dated 2010-12-22:
+        <http://lists.gnu.org/archive/html/automake-patches/2010-12/msg00135.html>
+       This change works around the problems described above for Zsh 4.3
+       or later, and offers better error messages (instead of random
+       failures) for earlier Zsh version.
+       * tests/README (Supported shells): When describing the manual
+       workaround about the Zsh incompatibility in the handling of `$0',
+       tell that it is now needed only with Zsh versions preceding 4.3.
+       Done also some minor rewordings.
+       * tests/defs-static.in ($argv0): New variable, offers a workaround
+       for the Zsh incompatibility in the handling of `$0'.
+       Abort if that variable cannot be correctly set (can happen only
+       in older Zsh version).
+       * tests/defs ($me): Define using `$argv0', not `$0'.
+ 2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       Tests defs: keep track of original $AUTOMAKE and $ACLOCAL values.
+       This is especially useful for tests which might want to run
+       automake and aclocal without additional flags and warnings.
+       * tests/defs-static.in ($original_ACLOCAL): New variable.
+       ($original_AUTOMAKE): Likewise.
+       * tests/help.test: Use them.
+       * tests/help2.test: Likewise.
+       * tests/help3.test: Likewise.
+       * tests/help4.test: Likewise.
+       From a suggestion by Ralf Wildenhues.
 +2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      distlinksbrk.test: Work around botched "make -k".
 +      * tests/distlinksbrk.test: Run "make" multiple times and grep
 +      its output each time for a single error message, rather than
 +      running "make -k" one single time and grepping its output for
 +      all the expected error messages.  This should work around make
 +      implementations with limited (broken?) `-k' support; for more
 +      information, see these subthreads on the automake-patches list:
 +        - 2010-11-15, "Testsuite failures on HP-UX 11.23",
 +          <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
 +        - 2010-11-15, "Testsuite failures on IRIX 6.5",
 +          <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
 +
 +2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Minor improvements to test 'amopts.test'.
 +      * tests/amopts.test: Remove botched comment.  Make grepping of
 +      automake stderr slighty stricter.  Add trailing `:' command.
 +
 +2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      backcompat6.test: avoid comments inside recipe commands.
 +      * tests/backcompat6.test: Remove shell comments from makefile rule
 +      commands, as they are not portable to (at least) Tru64 make.
 +
 +2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      man8.test: avoid comments inside recipe commands.
 +      * tests/man8.test: Remove shell comments from makefile rule
 +      commands, as they are not portable to (at least) Tru64 make.
 +
 +2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Fix sed-related buglet in test "subdir5.test"
 +      * tests/subdir5.test: Always terminate text passed to the
 +      `i' sed command with a newline, to work around limitations
 +      in e.g. older OpenBSD sed.
 +
 +2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Fix spurious failures in tests on AC_CONFIG_AUX_DIR.
 +      * tests/auxdir7.test: Do not try to needlessly overwrite the files
 +      `install-sh' and `missing'.  This avoid spurious failures in "make
 +      distcheck", when those files might be copied as read-only from the
 +      `lib' directory.
 +      * tests/auxdir8.test: Likewise.
 +
 +2010-12-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Make test 'posixsubst-script' portable to MinGW/MSYS.
 +      * tests/posixsubst-script.test: Ensure that the generated dummy
 +      scripts really start with a shebang line, to work around a
 +      limitation of 'test -x' on MinGW/MSYS.
 +      Reported by Ralf Wildenhues.
 +
 +      Improve comments in tests `posixsubst*.test'.
 +      * tests/posixsubst-data.test: Improve comment explaining why we
 +      try also empty match suffix.
 +      * tests/posixsubst-extradist.test: Likewise.
 +      * tests/posixsubst-ldadd.test: Likewise.
 +      * tests/posixsubst-libraries.test: Likewise.
 +      * tests/posixsubst-ltlibraries.test: Likewise.
 +      * tests/posixsubst-programs.test: Likewise.
 +      * tests/posixsubst-scripts.test: Likewise.
 +      * tests/posixsubst-sources.test: Likewise.
 +      * tests/posixsubst-tests.test: Likewise.
 +      Suggested by Ralf Wildenhues.
 +
 +2010-12-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      docs: fix blunder in example about python extension modules
 +      * doc/automake.texi (Python): Use `quaternion_la_SOURCES',
 +      not `quaternion_SOURCES', to declare the sources of python
 +      extension module `quaternion.la'.
 +
 +2010-12-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      docs: list LTLIBRARIES among Automake primaries
 +      * doc/automake.texi (Uniform): List `LTLIBRARIES' among
 +      the Automake primaries.
 +
  2010-12-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
            Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
  
index b74f30a6ad1be1a47ef97197c4ac94d97a327516,384507f557bcf5fe3d4cd7dbd3a220243a0a8c33..dafbbf666521edbe54aaed321d98f5b9f3ea2013
@@@ -24,12 -24,12 +24,13 @@@ set -
  mkdir cleandir
  cd cleandir
  
- # Honour user overrides for $ACLOCAL and $AUTOMAKE.
- ACLOCAL=`echo " $ACLOCAL " | sed 's/ -W[^ ]*/ /g'`
- AUTOMAKE=`echo " $AUTOMAKE " | sed 's/ -W[^ ]*/ /g'`
+ # Honour user overrides for $ACLOCAL and $AUTOMAKE, but without
+ # adding extra options.
+ ACLOCAL=$original_ACLOCAL
+ AUTOMAKE=$original_AUTOMAKE
  
  echo '[' > configure.in
 +echo '[' > acinclude.m4
  
  $AUTOMAKE --version
  $AUTOMAKE --help
Simple merge