Merge branch 'silent5-fix' into maint
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 24 Jun 2010 18:28:55 +0000 (20:28 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 24 Jun 2010 18:28:55 +0000 (20:28 +0200)
* silent5-fix:
  Fix bugs in test script silent5.test.

1  2 
ChangeLog

diff --cc ChangeLog
+++ b/ChangeLog
+ 2010-06-24  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       Fix bugs in test script silent5.test.
+       * tests/silent5.test: Fixed a nasty bug (due to the use of grep
+       instead of egrep) that could have led to false negatives.
 +2010-06-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Add a test checking that distributed broken symlinks cause
 +      `make dist' to fail.
 +      * tests/distlinksbrk.test: New test.
 +      * tests/Makefile.am (TESTS): Updated.
 +
 +2010-06-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Modernize, improve and extend tests `suffix*.test'.
 +      * tests/suffix3.test: Enable `errexit' shell flag, and related
 +      changes.
 +      * tests/suffix4.test: Likewise.
 +      * tests/suffix6.test: Likewise, and do not create a useless dummy
 +      source file.
 +      * tests/suffix7.test: Likewise.
 +      * tests/suffix5.test: Enable `errexit' shell flag, and related
 +      changes.  Make grepping of Makefile.in slighty stricter.
 +      * tests/suffix.test: Enable `errexit' shell flag, and related
 +      changes.  Also, do not redirect grep output to /dev/null, as this
 +      might unmotivatedly hide useful information.
 +      * tests/suffix2.test: Move setting of `errexit' shell flag earlier
 +      in the script (just after inclusion of ./defs).  Use a more
 +      idiomatic way to count text occurrences in Makefile.in with
 +      grep.  Do not create useless dummy source files.
 +      * tests/suffix10.test: Ensure verbose printing of captured make
 +      stdout.  Minor cosmetic changes.
 +      * tests/suffix8.test: Likewise.  Also, drop useless call to the
 +      env(1) utility, and make grepping of make output stricter by using
 +      $FGREP rather than plain grep.
 +      * tests/suffix11.test: Likewise.
 +      * tests/suffix12.test: Likewise.
 +      * tests/suffix9.test: Prefet cat + here-doc over echo to append to
 +      the `configure.in' stub.  Cosmetic changes.
 +      * tests/suffix13.test: Cosmetic spacing change.
 +
 +2010-06-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Add useful comment in test script ext.test.
 +      * tests/ext.test: Add a comment explaining why an apparently
 +      useless `if' statement is indeed required.
 +
 +      Add useful comment in test script obsolete.test.
 +      * tests/obsolte.test: Add a comment explaining why we need
 +      an indirection in adding $AUTOUPDATE to $required.
 +
 +      Normalize whitespaces in 'tests/Makefile.am'.
 +      * tests/Makefile.am (TESTS): Use only spaces, not tabs, in the
 +      definition of this variable.
 +
 +2010-06-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Remove a couple of unneeded conditionals from tests.
 +      * tests/pr243.test, tests/pr266.test, tests/strip.test: No need
 +      for the FOOTEST conditional.
 +
 +2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Modernize, improve and/or fix various test scripts.
 +      * tests/symlink3.test: Deleted, separated into two new, more
 +      complete tests ...
 +      * tests/forcemiss.test: ... this one ...
 +      * tests/forcemiss2.test: ... and this one.
 +      * tests/symlink2.test: Enable `errexit' shell flag, make test
 +      stricter, and skip it if symlink creation is not supported.
 +      * tests/postproc.test: Enable `errexit' shell flag, related
 +      changes, and a couple of unrelated cosmetic changes.
 +      * tests/recurs.test: Use the `configure.in' stub created by
 +      `./defs', rather than writing one from scratch.  Make grepping
 +      of Automake stderr slighty stricter.
 +      * tests/substtarg.test: Likewise.
 +      * tests/strip.test: Likewise, and move the call to `set -e'
 +      earlier (just after the inclusion of `./defs'). Also, make sure
 +      that the script installed by `make install-script' is equal to
 +      the original one.
 +      * tests/substref.test: Use the `configure.in' stub created by
 +      `./defs', rather than writing one from scratch.  Move the call
 +      to `set -e' earlier (just after the inclusion of `./defs').
 +      Avoid to explicitly export CC for configure (that's already done
 +      in ./defs).  Avoid potential problems with unpredictable make
 +      output.  Finally, make grepping of Makefile.in stricter.
 +      * tests/substre2.test: Ensure verbose printing of the captured
 +      make's output, and make its grepping slighty stricter.
 +      * tests/cygwin32.test: Enable `errexit' shell flag, and related
 +      changes.  Also, do not create useless dummy source/data files.
 +      * tests/scripts.test: Likewise.
 +      * tests/recurs2.test: Likewise.  Also, use the `configure.in'
 +      stub created by `./defs'.
 +      * tests/Makefile.am (TESTS): Updated.
 +
 +      Modernize, improve and/or fix tests `pluseq*.test.
 +      * tests/pluseq5.test: Append to configure.in using cat with an
 +      here-doc, not using echo.
 +      * tests/pluseq10.test: Make sure that the captured output of
 +      `make' command is always displayed. Where possible, use $FGREP
 +      instead of grep (this change makes some checks slighty stricter).
 +      * tests/pluseq8.test: Enable `errexit' shell flag, with related
 +      changes.
 +      * tests/pluseq.test: Likewise.  Also, do not create useless dummy
 +      data files, and use better m4 quoting in generated configure.in.
 +      * tests/pluseq2.test: Likewise.  Also, append to configure.in
 +      using cat with an here-doc, not using echo.
 +      * tests/pluseq3.test: Likewise.
 +      * tests/pluseq4.test: Likewise.
 +      * tests/pluseq6.test: Likewise.
 +      * tests/pluseq7.test: Do not create useless dummy source file.
 +      * tests/pluseq9.test: Slighty extended w.r.t. the grepping of
 +      Automake stderr.  Some unrelated cosmetic changes.
 +
 +      Testsuite: ensure verbose printing of captured stderr.
 +      * tests/acloca18.test: Print captured stderr before either failing
 +      or grepping it.  Be sure to send captured stderr to stderr, not to
 +      stdout.
 +      * tests/ansi3b.test: Likewise.
 +      * tests/cond39.test: Likewise.
 +      * tests/configure.test: Likewise.
 +      * tests/missing3.test: Likewise.
 +      * tests/missing6.test: Likewise.
 +      * tests/output-order.test: Likewise.
 +      * tests/pr300-ltlib.test: Likewise.
 +      * tests/python6.test: Likewise.
 +      * tests/python7.test: Likewise.
 +      * tests/python8.test: Likewise.
 +      * tests/python9.test: Likewise.
 +      * tests/subobj.test: Likewise.
 +      * tests/vars3.test: Likewise.
 +      * tests/missing4.test: Likewise, and fix a call to grep not to use
 +      the `-c' flag.
 +      * tests/ansi3.test: Likewise, and rely on the `configure.in' stub
 +      created by `./defs', rather than writing one from scratch.
 +
 +      Enable `errexit' shell flag in various tests.
 +      * tests/backsl.test: Enable the `errexit' shell flag, and
 +      related changes.
 +      * tests/backsl2.test: Likewise.
 +      * tests/block.test: Likewise.
 +      * tests/canon2.test: Likewise.
 +      * tests/canon4.test: Likewise.
 +      * tests/comment2.test: Likewise.
 +      * tests/condlib.test: Likewise.
 +      * tests/cond15.test: Likewise, and prefer $FGREP over grep.
 +      * tests/canon3.test: Likewise.  Also, avoid to create an useless
 +      dummy source file.
 +      * tests/acoutpt2.test: Enable the `errexit' shell flag, and some
 +      related changes.  Do some cosmetic improvements in the generated
 +      `configure.in' file.
 +      * tests/cond4.test: Likewise.
 +      * tests/cond14.test: Likewise.
 +      * tests/condinc.test: Likewise.
 +      * tests/cond7.test: Likewise.  Also, remove useless setting of
 +      AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am.
 +      * tests/ansi.test: Enable the `errexit' shell flag, and related
 +      changes.  Extended, esp. by running autoconf, ./configure and
 +      make, and by looking into the distdir.
 +
 +2010-06-12  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +          Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Extend tests/README w.r.t. trailing `:' in test scripts.
 +      * tests/README (section "Writing test cases" subsection "Do"):
 +      Explain why apparently redundant trailing `:' and `Exit 0' in
 +      test scripts can indeed be useful.
 +
 +2010-06-11  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Improve determination of PATH separator in bootstrap script.
 +      * bootstrap: Detemine what the PATH separator is the same way
 +      autoconf does.
 +
 +      Minor improvements in bootstrap script.
 +      * bootstrap: Consistently use two-spaces indentation.  Cosmetic
 +      improvement to comments.
 +      ($me): New variable, containing program basename.
 +      Prepend it to all error messages.
 +
 +      Testsuite now works with BSD make in parallel mode.
 +      * tests/defs.in: Unset variables __MKLVL__ and MAKE_JOBS_FIFO,
 +      which are exported by BSD make when run in parallel mode, and
 +      which can confuse make processes spawned by our testsuite.
 +      This change fixes a lot of spurious failure when the testsuite
 +      is run with BSD make in parallel mode.
 +
 +2010-06-09  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Modernize, improve and/or fix various test scripts.
 +      * tests/sanity.test: Rely on the `configure.in' stub created by
 +      `./defs', rather than writing one from scratch.
 +      * tests/depend2.test: Likewise.  Also, call `set -e' just after
 +      the inclusion of `./defs', instead that later in the script.
 +      * tests/canon5.test: Avoid a useless `|| Exit 1' after a call to
 +      $AUTOMAKE, and improve the positioning of an $ACLOCAL call.
 +      * tests/exeext4.test: Use $FGREP instead of grep, where possible.
 +      Make auxiliary rules in the generated Makefile more silent.
 +      These changes make some checks slighty stricter.
 +      * tests/ext2.test: Call `Exit 1' if inclusion of `./defs' fails.
 +      * tests/gettext2.test: Place final `:' at the end of the script,
 +      rather than in the middle.
 +      * tests/exeext.test: Call `set -e' just after the inclusion of
 +      `./defs', instead that later in the script.
 +      * tests/extra5.test: Likewise.
 +      * tests/confdeps.test: Likewise.  Also, prefer `mv -f' over
 +      plain `mv', just to be sure.
 +      * tests/depcomp.test: Enable `errexit' shell flag, with related
 +      changes.  Also, modernize the generated configure.in.
 +      * tests/cond9.test: Likewise.  Also, rely on the `configure.in'
 +      stub created by `./defs', rather than writing one from scratch.
 +      * tests/cond10.test: Likewise.
 +      * tests/depcomp2.test: Likewise.
 +      * tests/depend3.test: Likewise.
 +      * tests/distcom7.test: Likewise.
 +      * tests/fortdep.test: Likewise.  Also, remove definition of
 +      AUTOMAKE_OPTIONS to `foreign' in the generated Makefile.am,
 +      since that flag is already provided by $AUTOMAKE.
 +      * tests/mdate.test: Made stricter, by checking that Automake
 +      actually failed, and by making a stricter grep on the error
 +      message.  Also, set shell `errexit flag'.
 +      * tests/python2.test: Improved verbose messages.
 +
 +      Make test `ammissing.test' stricter.
 +      * tests/ammissing.test: Fail if $ACLOCAL succeds unexpectedly.
 +      Enable `errexit' shell flag.
 +
 +2010-06-08  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Enable `errexit' shell flag in some test scripts.
 +      * tests/subcond.test: Enabled `errexit' shell flag, and related
 +      minor changes.
 +      * tests/subst.test: Likewise.
 +      * tests/vars.test: Likewise.
 +      * tests/version4.test: Likewise.
 +      * tests/vpath.test: Likewise.
 +      * tests/vtexi2.test: Likewise.
 +      * tests/werror.test: Likewise.
 +      * tests/whoami.test: Likewise.
 +      * tests/tags.test: Likewise, and avoid to crate an useless dummy
 +      header file.
 +      * tests/acsilent.test: Likewise, and don't use an easily-avoided
 +      command substitution.
 +      * tests/unused.test: Likewise, and don't use an easily-avoided
 +      command substitution.
 +      * tests/version.test: Likewise, and avoid deprecated constructs
 +      in the generated `configure.in'.
 +      * tests/version2.test: Likewise, and avoid deprecated constructs
 +      in the generated `configure.in'.
 +
 +2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Prefer AUTOMAKE_fails over `$AUTOMAKE | grep' in tests.
 +      * tests/ldadd.test: Enable errexit.  Use AUTOMAKE_fails so
 +      the verbose log contains all output.
 +      * tests/mdate.test: Likewise.
 +      Prompted by Stefano Lattarini's change to discover.test.
 +
 +2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Improve tests link*.test (enable `errexit' shell flag).
 +      * tests/link_c_cxx.test: Enable `errexit shell flag, and related
 +      changes.  Also, do not create useless source files.
 +      * tests/link_dist.test: Likewise.
 +      * tests/link_f90_only.test: Likewise.
 +      * tests/link_f_only.test: Likewise.
 +      * tests/link_fc.test: Likewise.
 +      * tests/link_fccxx.test: Likewise.
 +      * tests/link_fcxx.test: Likewise.
 +
 +2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Improve ext.test semantics, avoid OpenBSD sh errexit issue.
 +      * tests/ext.test: Inside shell compound command, use
 +      `if $cmd; then Exit 1; fi' rather than `$cmd && Exit 1', to
 +      fix failure with OpenBSD sh introduced with last patch.
 +      Actually ensure that a rule for .EXT.o is created for each
 +      known extension EXT.
 +
  2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
 +      Enable `errexit' shell flag in some test scripts.
 +      * tests/dash.test: Enable `errexit' shell flag, and related
 +      changes.
 +      * tests/defun.test: Likewise.
 +      * tests/defun2.test: Likewise.
 +      * tests/dejagnu.test: Likewise.
 +      * tests/double.test: Likewise.
 +      * tests/distcom2.test: Likewise.
 +      * tests/empty2.test: Likewise.
 +      * tests/empty3.test: Likewise.
 +      * tests/empty4.test: Likewise.
 +      * tests/exdir.test: Likewise.
 +      * tests/ext.test: Likewise.
 +      * tests/extra.test: Likewise.
 +      * tests/extra2.test: Likewise.
 +      * tests/extra3.test: Likewise.
 +      * tests/extra4.test: Likewise.
 +      * tests/flibs.test: Likewise.
 +      * tests/fnoc.test: Likewise.
 +      * tests/fo.test: Likewise.
 +      * tests/instexec.test: Likewise.
 +      * tests/ltdeps.test: Likewise.
 +      * tests/nodep.test: Likewise.
 +      * tests/nodepcomp.test: Likewise.
 +      * tests/f90only.test: Likewise, and remove botched/obsoleted
 +      comments and unecessary commands.
 +      * tests/fonly.test: Likewise, and removed botched/obsolted
 +      comments and unecessary commands.
 +      * tests/discover.test: Likewise, and made stricter.
 +
 +      Enable `errexit' shell flag in all tests cxx*.test.
 +      * tests/cxx.test: Enabled `errexit' shell flag, and related
 +      minor changes.
 +      * tests/cxxansi.test: Likewise.
 +      * tests/cxxcpp.test: Likewise.
 +      * tests/cxxlibobj.test: Likewise.
 +      * tests/cxxlink.test: Likewise.
 +      * tests/cxxo.test: Likewise.
 +
 +      Enable `errexit' shell flag in various tests.
 +      * tests/acoutnoq.test: Enabled `errexit' shell flag, and related
 +      minor changes.
 +      * tests/acoutpt.test: Likewise.
 +      * tests/acoutqnl.test: Likewise.
 +      * tests/amassign.test: Likewise.
 +      * tests/ansi2.test: Likewise.
 +      * tests/ansi4.test: Likewise.
 +      * tests/badprog.test: Likewise.
 +      * tests/checkall.test: Likewise.
 +      * tests/clean.test: Likewise.
 +      * tests/colneq2.test: Likewise.
 +      * tests/colon.test: Likewise.
 +      * tests/colon5.test: Likewise.
 +      * tests/colon6.test: Likewise.
 +      * tests/comment.test: Likewise.
 +      * tests/compile_f90_c_cxx.test: Likewise.
 +      * tests/compile_f_c_cxx.test: Likewise.
 +      * tests/cond3.test: Likewise.
 +      * tests/cond6.test: Likewise.
 +      * tests/cond13.test: Likewise.
 +      * tests/conf2.test: Likewise.
 +      * tests/confvar.test: Likewise.
 +      * tests/confvar2.test: Likewise.
 +      * tests/cond8.test: Likewise, plus a cosmetic change.
 +      * tests/confh4.test: Likewise.  Also, add in the heading comments
 +      an excerpt from the original bug report which motivated the
 +      creation of this test, to make its purpose clearer.
 +
 +2010-06-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Rewrite manual to be gender-neutral.
 +      * doc/automake.texi (GNU Build System)
 +      (Standard Directory Variables, General Operation, CVS)
 +      (Hard-Coded Install Paths, Dependencies As Side Effects):
 +      Rewrite text to not contain gender-specific pronouns when
 +      speaking about developers or users, either by avoiding pronouns
 +      or by addressing them as `you' instead.
 +      * THANKS: Update.
 +      Report by Christina Gratorp.
 +
 +      * AUTHORS: Update.
 +
 +2010-06-06  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Make tests on user extensibility of silent-rules mode stricter.
 +      * tests/silent6.test: Made stricter w.r.t. the grepping of the
 +      output produced by `make'.
 +      * tests/silent7.test: Likewise.
 +
 +      Tests on silent-mode for C/Libtool made stricter.
 +      * tests/silent.test: Made stricter w.r.t. the grepping of the
 +      output produced by `make'.
 +      * tests/silent2.test: Likewise.
 +      * tests/silent4.test: Likewise.
 +      * tests/silent9.test: Likewise.
 +      * tests/silent3.test: Likewise, and add a final `make distclean'
 +      command to keep it better in sync with tests/silent{4,9}.test.
 +
        Improved test silent5.test.
        * tests/silent5.test: Remove by hand all generated C files after
        non-verbose builds, to ensure the following builds are clean.