Merge branch 'tests-misc-fixes-3'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 6 Dec 2010 21:19:36 +0000 (22:19 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 6 Dec 2010 21:19:36 +0000 (22:19 +0100)
1  2 
ChangeLog

diff --cc ChangeLog
+++ b/ChangeLog
+ 2010-11-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       Modernize, improve and/or tweak some test scripts.
+       * tests/maintclean.test: Use proper m4 quoting.  Add trailing `:'
+       command.
+       * tests/sinclude.test: Likewise, and add a couple of blank lines,
+       for clarity.
+       * tests/make.test: Move setting of `errexit' shell flag earlier in
+       the script (just after inclusion of ./defs).  Use the configure.in
+       stub created by ./defs, rather than writing it from scratch.  Some
+       cosmetic changes in spacing.  Ensure we wait enough time before
+       touching configure.in to trigger the rebuild rules.
+       * tests/makej.test: Use `$me' instead of hard-coding the test
+       name.  Add trailing `:' command.
+       * tests/version7.test: Likewise.
+       * tests/space.test: Enable `errexit' shell flag, and related
+       changes.
+       * tests/makevars.test: Likewise.  Also, prefer trailing `:' over
+       trailing `Exit 0', and be more tolerant of white spaces when
+       grepping Makefile.in.
 +2010-12-02  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      * tests/silent8.test: Use "|| Exit 1" after ". ./defs".
 +
 +      Enable `set -e' in more tests (plus some tweakings).
 +      * tests/mkinstall.test: Enable `errexit' shell flag, and related
 +      changes.  Add a trailing `:' command, if needed.
 +      * tests/mdate2.test: Likewise.
 +      * tests/objc.test: Likewise.
 +      * tests/noinst.test: Likewise.
 +      * tests/outdir.test: Likewise.
 +      * tests/number.test: Likewise.
 +      * tests/pluseq.test: Likewise.
 +      * tests/req.test: Likewise.
 +      * tests/rulepat.test: Likewise.
 +      * tests/specflg6.test: Likewise.
 +      * tests/spell3.test: Likewise.
 +      * tests/parse.test: Likewise, and ...
 +      (configure.in): Use the stub created by ./defs, rather than
 +      writing it from scratch.  Remove useless calls to AC_PROG_RANLIB
 +      and AC_OUTPUT.
 +      * tests/mdate4.test: Likewise.
 +      * tests/mkinstall.test: Likewise, and ...
 +      (configure.in): ... drop useless call to `AC_OUTPUT'.
 +      * tests/output.test: Enable `errexit' shell flag, and related
 +      changes.  Add a trailing `:' command.
 +      (configure.in): Modernize.
 +      * tests/output2.test: Likewise.
 +      * tests/output3.test: Likewise.
 +      * tests/output4.test: Likewise.
 +      * tests/mdate3.test: Enable `errexit' shell flag, and related
 +      changes.  Prefer `$me' over hard-coded test name.  Do not move
 +      non-existent or useless files in the build auxiliary directory.
 +      * tests/nodistdir.test: Enable `errexit' shell flag, and related
 +      changes.  Prefer trailing `:' over trailing `Exit 0'.
 +      * tests/nodist.test: Likewise.  Also, prefer cat + here-doc over
 +      echo to create input test files, and do not create useless dummy
 +      C source files.
 +      * tests/nodist2.test: Likewise.
 +      * tests/ppf77.test: Enable `errexit' shell flag, with related
 +      changes.  Add a trailing `:' command.  Do not create useless
 +      dummy source files.
 +      * tests/spelling.test: Enable `errexit' shell flag, with related
 +      changes.  Add a trailing `:' command.  Also, grep Automake error
 +      message.
 +      * tests/specflg3.test: Enable `errexit' shell flag, with related
 +      changes.  Avoid unportable use of `-e' option of fgrep.  Prefer
 +      trailing `:' over trailing `Exit 0'.  Remove extra empty lines,
 +      and cosmetic changes to whitespaces.
 +      * tests/obsolete.test: Enable `errexit' shell flag, with related
 +      changes.  Improve verbosity.  Other miscellanous changes.
 +
 +2010-11-30  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Improve and extend tests on `:=' variable assignments.
 +      * tests/colneq.test: Avoid redundant use of variable assignments
 +      in Makefile.am.  Use command-line automake options instead of
 +      editing AUTOMAKE_OPTIONS in Makefile.am.  Make grepping of the
 +      generated Makefile.in slightly stricter.  Add a trailing `:'
 +      command.
 +      * tests/colneq2.test: Do not create unneeded dummy files.  Run
 +      also autoconf, ./configure and make.  Add trailing `:' command.
 +      * tests/colneq3.test: New test, similar to colneq.test, but
 +      running also autoconf, ./configure and make.
 +      * tests/Makefile.am (TESTS): Update.
 +
 +2010-11-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Remove long-deprecated options --Werror and --Wno-error.
 +      These options has been deprecated at least since commit
 +      "Release-1-6-1b-35-gc037f20", dated 2002-07-06.
 +      * automake.in (parse_arguments): Do not recognize anymore options
 +      `--Werror' and `--Wno-error' as synonyms of respectively `-Werror'
 +      and `-Wno-error'.
 +      * tests/werror.test: Update: use `-Werror' instead of `--Werror'.
 +      * NEWS: Update.
 +
 +2010-11-25  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Fix spurious failures in `silent*.test' for $CC != gcc
 +      In some tests on automake-produced silent rules, we forced the
 +      use of gcc depmode to improve testsuite coverage; but this has
 +      unsurprisingly led to spurious failures when some non-GNU C
 +      compilers were used.  So we are now careful to require GCC in
 +      tests that force gcc depmode.
 +      From reports by Ralf Wildenhues.
 +      * silent5.test: Test removed, its content split into ...
 +      * silent-many-generic.test, silent-many-gcc.test: ... these new
 +      sister tests, the latter of which forces gcc depmode and lists
 +      "gcc" in $required.
 +      * silentlex.test: Test removed, its content split into ...
 +      * silent-lex-generic.test, silent-lex-gcc.test: ... these new
 +      sister tests, the latter of which forces gcc depmode and lists
 +      "gcc" in $required.
 +      * silentyacc.test: Test removed, its content split into ...
 +      * silent-yacc-generic.test, silent-yacc-gcc.test: ... these new
 +      sister tests, the latter of which forces gcc depmode and lists
 +      "gcc" in $required.
 +      * tests/Makefile.am (TESTS): Updated.
 +
  2010-11-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
  
        Tests: consistently use "|| Exit 1" after ". ./defs".