From: Stefano Lattarini Date: Wed, 22 Dec 2010 20:01:07 +0000 (+0100) Subject: Merge branch 'tests-init' X-Git-Tag: ng-0.5a~286 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89505905738a5645963b8d0f24daa7a857203aca;p=thirdparty%2Fautomake.git Merge branch 'tests-init' --- 89505905738a5645963b8d0f24daa7a857203aca diff --cc ChangeLog index c3e6d3ac3,2ea4caa7b..2c057a101 --- a/ChangeLog +++ b/ChangeLog @@@ -1,85 -1,40 +1,122 @@@ + 2010-12-22 Stefano Lattarini + + 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: + + 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 + + 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 + + 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", + + - 2010-11-15, "Testsuite failures on IRIX 6.5", + + +2010-12-21 Stefano Lattarini + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + 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 + + docs: list LTLIBRARIES among Automake primaries + * doc/automake.texi (Uniform): List `LTLIBRARIES' among + the Automake primaries. + 2010-12-13 Stefano Lattarini Ralf Wildenhues diff --cc tests/help2.test index b74f30a6a,384507f55..dafbbf666 --- a/tests/help2.test +++ b/tests/help2.test @@@ -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