From: Ralf Wildenhues Date: Sun, 13 Jun 2010 17:18:52 +0000 (+0200) Subject: Merge branch 'fix-distcheck' X-Git-Tag: ng-0.5a~402 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=676eddf7d7870f65bd8197febb33124dab5fd189;p=thirdparty%2Fautomake.git Merge branch 'fix-distcheck' * fix-distcheck: Parallel tests generation: improve comments (tiny change). Tests defs: truly get rid of `$am_defs_included' (unused variable) --- 676eddf7d7870f65bd8197febb33124dab5fd189 diff --cc ChangeLog index c4e69a557,76fc1684c..1ceda8792 --- a/ChangeLog +++ b/ChangeLog @@@ -1,182 -1,14 +1,193 @@@ + 2010-06-13 Stefano Lattarini + + Parallel tests generation: improve comments (tiny change). + * tests/Makefile.am ($(parallel_tests)): Added useful comment to + generated tests. + + Tests defs: truly get rid of `$am_defs_included' (unused variable) + * tests/defs.in ($am_defs_included): Remove, its now unused. It + should have been removed in a previous changeset, but the removal + was done only partially (oversight). + +2010-06-12 Ralf Wildenhues + + 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 + + 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. + +2010-06-12 Stefano Lattarini + + cscope.test: ensure verbose printing of captured stderr. + * tests/cscope.test: Print captured stderr before failing. + +2010-06-12 Stefano Lattarini + + 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 + Ralf Wildenhues + + 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 + + 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 + + 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 Ralf Wildenhues