Merge branch 'fix-pr9579' into maint
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 7 Nov 2011 15:07:25 +0000 (16:07 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 7 Nov 2011 15:07:25 +0000 (16:07 +0100)
* fix-pr9579:
  tests: fix spurious failure in 'distcheck-override-infodir.test'

1  2 
ChangeLog

diff --cc ChangeLog
+++ b/ChangeLog
  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-03  Zack Weinberg <zackw@panix.com>  (tiny change)
 +          Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      maint-mode: fix botched configure messages
 +      This change fixes automake bug#9890.
 +      * m4/maintainer.m4 (AM_MAINTAINER_MODE): Fix the "checking ..."
 +      configure message related to the enabling/disabling of maintainer
 +      mode.
 +      * tests/help-maintainer.test: Renamed ...
 +      * tests/maintmode-configure-msg.test: ... to this, and extended
 +      to cover the fixed bug.  Also, since we are at it, make grepping
 +      of configure help screens stricter, and throw in some few other
 +      changes to reduce code duplication and enhance readability.
 +      * tests/Makefile.am (TESTS): Update.
 +      * THANKS: Update with Zack's new e-mail address.
 +      Report and initial patch by Zack Weinberg, test cases added by
 +      Stefano Lattarini.
 +
 +2011-10-23  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      info: allow user to inhibit creation/update of '${infodir}/dir'
 +      With this change, we allow the user to request the install-info
 +      rules not to update the `${infodir}/dir' file, by exporting the
 +      environment variable `AM_UPDATE_INFO_DIR' to the value "no".
 +      This is especially useful to distro packagers, and is a definite
 +      improvement over our previous hack of looking whether the
 +      `install-info' program was the Debian or GNU version -- hack
 +      which had been silently broken with recent versions of debian
 +      install-info BTW (probably since dpkg 1.15.4, 2009-09-06).
 +      This change fixes automake bug#9773.  See also Debian Bug#543992.
 +      * lib/am/texinfos.am: Don't look anymore at the output of
 +      `install-info --version' to decide whether to use it to update
 +      the `${infodir}/dir' or not; instead, honour the environment
 +      variable `AM_UPDATE_INFO_DIR'.
 +      * tests/install-info-dir.test: New test.
 +      * tests/Makefile.am (TESTS): Add it.
 +      * tests/defs: Also unset `AM_UPDATE_INFO_DIR', to avoid unwanted
 +      interferences from the environment.
 +      * doc/automake.texi (Texinfo): Update.
 +      * NEWS: Likewise.
 +      * THANKS: Likewise.
 +      Report by Jonathan Nieder.
 +
 +2011-10-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      deps: partially revert commit `v1.11-512-geeee551'
 +      This change partly reverts commit "Create subdirs for generated
 +      sources even when not dep tracking", of 2011-04-02.
 +      That commit had caused the bugs #8485 and #8526.  Since we are
 +      nearing the bug-fixing automake release 1.11.2, the safest policy
 +      at the moment is to just revert the problematic hunks: an older,
 +      known bug is better than a regression.
 +      * automake.in (handle_single_transform): Don't add a dirstamp
 +      dependency, even when $object is derived and lands in a subdir.
 +      * tests/Makefile.am (XFAIL_TESTS): Add lex-subobj-nodep.test,
 +      remove yacc-dist-nobuild-subdir.test.
 +
 +2011-10-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      dejagnu: allow the package developer to extend site.exp
 +      Fixes automake bug#7873.
 +      * lib/am/dejagnu.am (site.exp): Depend from the files listed in
 +      $(EXTRA_DEJAGNU_SITE_CONFIG), if any.  Append their contents to
 +      the generated site.exp (still preserving user edits).
 +      * doc/automake.texi (Dejagnu Tests): Update.
 +      * tests/dejagnu-siteexp-append.test: New test.
 +      * tests/dejagnu-siteexp-extend.test: Likewise.
 +      * tests/dejagnu-siteexp-useredit.test: Likewise.
 +      * tests/Makefile.am (TESTS): Update.
 +      * NEWS: Update.
 +      Suggestion by Rainer Orth.
 +
 +2011-10-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      dejagnu: ensure 'srcdir' is defined as a relative directory
 +      This change fixes automake bug#7833.
 +      * lib/am/dejagnu.am (check-DEJAGNU): Prefer using plain $(srcdir)
 +      over calculating and using the absolute path of $(srcdir).
 +      * tests/dejagnu-relative-srcdir.test: New test.
 +      * tests/dejagnu-absolute-builddir.test: Likewise.
 +      * tests/Makefile.am (TESTS): Update.
 +      Report by Ian Lance Taylor.  Suggestions by Ralf Wildenhues.
 +
 +2010-12-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Fix testsuite failure of check12.test without DejaGNU.
 +      * tests/check12.test: Require runtest.
 +
 +2010-12-10  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Extend and improve tests on DejaGnu support.
 +      * tests/dejagnu.test: Do not create useless dummy test script.
 +      Add trailing `:' command.  In heading comments, add reference
 +      to ...
 +      * tests/check12.test: ... this new "semantic" test, covering
 +      concurrent use of dejagnu tests, simple tests and `check-local'
 +      target.
 +      * tests/dejagnu2.test: Make test more reliable, by avoid weak
 +      grepping of make output.  Prefer `cat' over `echo' to append
 +      to configure.in.  Quote literal dots in grep regexps.  Prefer
 +      `grep -c ...' over `grep ... | wc -l'.  Make grepping of
 +      automake stderr slightly stricter.  Add trailing `:' command.
 +      * tests/dejagnu3.test: Prefer `cat' over `echo' to append to
 +      configure.in.  Check stderr of expected-to-fail "make" call.
 +      Remove extra blank lines from Makefile.am.
 +      * tests/dejagnu4.test: Prefer `cat' over `echo' to append to
 +      configure.in.  Prefer `mv -f' over plain `mv' when the target
 +      file already exists.  Avoid extra mkdir calls by creating more
 +      directories at once.  Better use of blank lines.  Check that
 +      the `*.log' and `*.sum' files are created by runtest also when
 +      "make check" fails.
 +      * tests/dejagnu7.test: Prefer `cat' over `echo' to append to
 +      configure.in.  Better use of blank lines.  Add a trailing `:'
 +      command.
 +      * tests/dejagnu6.test: Likewise, and give the dejagnu test a
 +      more descriptive name.
 +      * tests/dejagnu5.test: Likewise.  Also, simply define package
 +      name to `$me' rather than using a non-obvious sed script to
 +      extract it from `AC_INIT', and write the Makefile.am with only
 +      one command.
 +      * tests/Makefile.am (TESTS): Updated.
 +
 +2011-10-21  Peter Rosin  <peda@lysator.liu.se>
 +
 +      * THANKS: Fix whitespace issue.
 +
 +2011-10-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: fix spurious failure with FreeBSD make and Yacc in VPATH
 +      * tests/subpkg.test: Some cosmetic adjustments.  Move the tests
 +      checking that $(YLWRAP) is defined and installed properly when
 +      ylwrap is in a default auxdir found in a parent package ...
 +      * tests/subpkg-yacc.test: ... into this new test, which carefully
 +      avoids to trigger the known bug#7884 (combo FreeBSD make plus Yacc
 +      plus VPATH build).
 +      * tests/Makefile.am (TESTS): Update.
 +
 +2011-10-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: avoid spurious failure in 'parallel-tests3.test'
 +      This fixes automake bug#8788.
 +      * tests/parallel-tests3.test: To ensure that the serial run of
 +      the dummy testsuite is still ongoing when the parallel run has
 +      terminated, use `kill -0', not a bare `kill'.  This will prevent
 +      a testsuite crash on NetBSD 5.1, and a testsuite hang on FreeBSD
 +      8.2.  Also, since we are at it, try harder to avoid possible
 +      hangs of the script in other unusual situations.
 +
 +2011-10-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: fix spurious failures with "chatty" make implementations
 +      * tests/distcheck-missing-m4.test: On failure, some make
 +      implementations (such as Solaris make) print the whole failed
 +      recipe on standard output.  This was causing a spurious failure
 +      in the checks grepping the output from make.  Work around this.
 +      * tests/distcheck-outdated-m4.test: Likewise.
 +
 +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-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: avoid spurious failure of 'uninstall-fail.test' on Solaris
 +      * tests/uninstall-fail.test: All the Solaris 10 shells (/bin/sh,
 +      /bin/ksh, and /usr/xpg4/bin/sh), upon failing to chdir to a
 +      directory with the `cd' builtin, print a message like:
 +        "sh: /root: permission denied"
 +      which doesn't report the `cd' builtin anywhere.  Relax the grepping
 +      of the error message accordingly.
 +
 +2011-10-19  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: avoid spurious failure of 'uninstall-fail.test' on Cygwin
 +      * tests/uninstall-fail.test: Be sure to really skip this test
 +      on systems that allows files to be removed from unwritable
 +      directories.  Motivated by a spurious failure on Cygwin 1.5.
 +
 +2011-10-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      tests: fix spurious failure with autoconf 2.62
 +      * tests/aclocal-path-precedence.test: Rewrite configure.in,
 +      rather than appending to it, to avoid spurious failures (at
 +      least with autoconf 2.62) due to repeated calls to AC_INIT.
 +      Also, add package name and version arguments to AC_INIT, to
 +      avoid spurious errors from automake.
 +
 +2011-10-16  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      docs: avoid using colon character inside arguments of @pxref
 +      Fixes automake bug#9753
 +      * doc/automake.texi (VPATH Builds): Avoid using colon character
 +      `:' inside arguments of @pxref, as this can cause problems in
 +      the generated `.info' files, and such an usage will be explicitly
 +      forbidden by future texinfo documentation.
 +      * THANKS: Update.
 +      Reported by Дилян Палаузов.
 +
 +2011-10-07  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      parallel-tests: warn on conditional TEST_EXTENSIONS definition
 +      Before this change, automake would have still bailed out, but
 +      with a confusing error message (about an invalid redefinition
 +      of TEST_EXTENSIONS).
 +      * automake.in (handle_tests): Warn explicitly if TEST_EXTENSIONS
 +      has conditional contents.
 +      * tests/test-extensions-con.test: New test.
 +      * tests/Makefile.am (TESTS): Add it.
 +      * NEWS: Update.
 +
 +2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      parallel-tests: don't allow @substitutions@ in TEST_EXTENSIONS
 +      Even after the last commit `v1.11-476-g90bea64', the checks
 +      performed by automake on entries in $(TEST_EXTENSIONS) tried to
 +      allow for @substitited@ stuff.  This however ends up allowing
 +      quite brittle setups, which, most importantly, are of no real
 +      practical usefulness anyway.  So it's better to just disallow
 +      @substitutions@ in TEST_EXTENSIONS altogether, offering a clear
 +      error message, instead of risking weird bugs and unexpected
 +      behaviors in the generated Makefile.in.
 +      * automake.in ($TEST_EXTENSION_PATTERN): Turned from a regular
 +      expression ...
 +      (is_valid_test_extension): ... into this subroutine.  Don't allow
 +      generic @substitutions@ anymore (possibly making an exception for
 +      `@EXEEXT@' under the proper circumstances).
 +      * tests/test-extensions.test: Adjust and extend.
 +
  2011-10-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
        tests: fix spurious failure in 'insthook.test'