Merge branch 'maint' into msvc
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 10 Nov 2011 11:51:47 +0000 (12:51 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 10 Nov 2011 11:51:47 +0000 (12:51 +0100)
* maint:
  tests: avoid a spurious failure of 'ltinit.test' MinGW
  tests: testsuite is now safe to run with dmake in parallel mode
  tests: fix spurious failures w.r.t. parallel make and colorization
  tests: fix spurious failure in 'distcheck-override-infodir.test'
  tests: avoid another failure of 'uninstall-fail.test' on Solaris

1  2 
ChangeLog
tests/defs.in
tests/ltinit.test

diff --cc ChangeLog
+++ b/ChangeLog
  2011-11-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
+       tests: avoid a spurious failure of 'ltinit.test' MinGW
+       * tests/ltinit.test: Be laxer in grepping configure output, to
+       avoid spurious failures on systems which lack POSIX dynamic
+       linking (e.g., MinGW), or when cross-compiling for such systems.
+       See also commit `v1.11-855-ge9e5d4a'.
+       Report and suggestion from Peter Rosin.
+ 2011-11-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       tests: testsuite is now safe to run with dmake in parallel mode
+       * tests/defs.in: Unset variables DMAKE_CHILD, DMAKE_DEF_PRINTED
+       and DMAKE_MAX_JOBS, which are exported by Solaris dmake when run
+       in parallel mode, and which might confuse make processes spawned
+       by our testsuite.
+ 2011-11-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       tests: fix spurious failures w.r.t. parallel make and colorization
+       * tests/color2.test: Skip the test if the $MAKE program fails to
+       consider the standard output as a tty when spawned by `expect'.
+       This is required for make implementations, like FreeBSD make and
+       Solaris dmake, that redirect the output of recipes to temporary
+       files or pipes when run in parallel mode.  Since we are at it,
+       simplify the detection of a working `expect' program, and throw
+       in other minor simplifications.
+ 2011-11-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       tests: fix spurious failure in 'distcheck-override-infodir.test'
+       * tests/distcheck-override-infodir.test ($required): Add
+       'install-info'.
+ 2011-11-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       tests: avoid another failure of 'uninstall-fail.test' on Solaris
+       * tests/uninstall-fail.test: On Solaris 10, if `/bin/rm' is run
+       with the `-f' option, it doesn't print any error message when
+       failing to remove a file (due to e.g., "Permission denied").
+       Yikes.  Cater to this incompatibility, by relaxing the test when
+       a faulty `rm' is detected.
++2011-11-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
++
 +      tests: various minor tweakings, mostly related to AM_PROG_AR
 +      * tests/alloca2.test: Ensure we don't experience a spurious failure
 +      due to a missing `AM_PROG_AR' macro or a missing `ar-lib' auxiliary
 +      script.
 +      * tests/libtool4.test: Likewise.
 +      * tests/ldadd.test: Likewise.  Since we are at it, make grepping of
 +      automake stderr stricter.
 +      * tests/reqd2.test: Likewise.
 +      * tests/pr211.test: Ensure automake fails also with `-Wnone', since
 +      the error we are testing for is an hard error, not a mere warning.
 +      * tests/syntax.test: Likewise, and ensure we don't fail to other
 +      errors by removing use of `lib_LTLIBRARIES' in Makefile.am.  Since
 +      we are at it, make grepping of automake stderr stricter.
 +
 +2011-11-05  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      ar-lib: fix configure output for "unrecognized archiver interface"
 +      * m4/ar-lib.m4: Ensure that, even when an error is hit while trying
 +      to determine the archiver interface kind, the "checking archiver
 +      interface" message from configure is properly terminated before
 +      an error message is printed, to avoid slightly garbled output.
 +      * tests/ar4.test: Enhance.
 +      * tests/ar5.test: Likewise.
 +
 +2011-11-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      warnings: fix buglets for portability warnings
 +      * lib/Automake/ChannelDefs.pm (switch_warning): Ensure the
 +      correct implications and inter-dependencies between warnings
 +      in the categories `portability', `extra-portability' and
 +      `recursive-portability' are respected.  Also add detailed
 +      explicative comments, and references to the relevant tests.
 +      * tests/dollarvar2.test: Update and extend.  Also, remove
 +      some unnecessary uses of `--force' option in automake calls.
 +      * tests/extra-portability3.test: New test.
 +      * tests/Makefile.am (TESTS): Add it.
 +
 +2011-11-04  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: extend tests on 'extra-portability' warning category
 +      * tests/extra-portability.test: Redefine `$AUTOMAKE' to ensure we
 +      have complete control over the automake options.  Extend by using
 +      also a setup where no `portability' warning is present (only an
 +      `extra-portability' warning is).  Other minor extensions.  Remove
 +      some redundant, verbose comments about the expected diagnostic.
 +
 +2011-11-03  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: various minor tweakings, mostly related to AM_PROG_AR
 +      * tests/alloca.test: Adjust to new portability requirements due
 +      to the new AM_PROG_AR macro.
 +      * tests/discover.test: Likewise.
 +      * tests/libobj3.test: Likewise.
 +      * tests/pluseq7.test: Likewise.  Also, make grepping of automake
 +      expected error message stricter.
 +      * tests/stdlib.test: Likewise, and extend the test a bit.
 +      * tests/parse.test (configure.in): Remove redundant call to
 +      AC_PROG_RANLIB.
 +      * tests/library2.test: Adjust to new portability requirements
 +      due to the new AM_PROG_AR macro.  Also ...
 +      (configure.in): ... add call to AC_PROG_CC, to ensure automake
 +      really fails for the expected reason.
 +
  2011-11-03  Zack Weinberg <zackw@panix.com>  (tiny change)
            Stefano Lattarini  <stefano.lattarini@gmail.com>
  
diff --cc tests/defs.in
Simple merge
Simple merge