From: Stefano Lattarini Date: Tue, 21 Dec 2010 01:22:22 +0000 (+0100) Subject: Merge branch 'tests-man-fixes' X-Git-Tag: v1.11b~458 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c97b1b489e0b393a20968af6bbfe4aae163fc0f;p=platform%2Fupstream%2Fautomake.git Merge branch 'tests-man-fixes' --- 2c97b1b489e0b393a20968af6bbfe4aae163fc0f diff --cc ChangeLog index c80c2ee,afb60f4..3e76016 --- a/ChangeLog +++ b/ChangeLog @@@ -1,803 -1,9 +1,809 @@@ 2010-12-21 Stefano Lattarini + man8.test: avoid comments inside recipe commands. + * tests/man8.test: Remove shell comments from makefile rule + commands, as they are not portable to (at least) Tru64 make. + ++2010-12-21 Stefano Lattarini ++ + Fix sed-related buglet in test "subdir5.test" + * tests/subdir5.test: Always terminate text passed to the + `i' sed command with a newline, to work around limitations + in e.g. older OpenBSD sed. + +2010-12-21 Stefano Lattarini + + Fix spurious failures in tests on AC_CONFIG_AUX_DIR. + * tests/auxdir7.test: Do not try to needlessly overwrite the files + `install-sh' and `missing'. This avoid spurious failures in "make + distcheck", when those files might be copied as read-only from the + `lib' directory. + * tests/auxdir8.test: Likewise. + +2010-12-18 Stefano Lattarini + + Make test 'posixsubst-script' portable to MinGW/MSYS. + * tests/posixsubst-script.test: Ensure that the generated dummy + scripts really start with a shebang line, to work around a + limitation of 'test -x' on MinGW/MSYS. + Reported by Ralf Wildenhues. + + Improve comments in tests `posixsubst*.test'. + * tests/posixsubst-data.test: Improve comment explaining why we + try also empty match suffix. + * tests/posixsubst-extradist.test: Likewise. + * tests/posixsubst-ldadd.test: Likewise. + * tests/posixsubst-libraries.test: Likewise. + * tests/posixsubst-ltlibraries.test: Likewise. + * tests/posixsubst-programs.test: Likewise. + * tests/posixsubst-scripts.test: Likewise. + * tests/posixsubst-sources.test: Likewise. + * tests/posixsubst-tests.test: Likewise. + Suggested by Ralf Wildenhues. + +2010-12-18 Stefano Lattarini + + docs: fix blunder in example about python extension modules + * doc/automake.texi (Python): Use `quaternion_la_SOURCES', + not `quaternion_SOURCES', to declare the sources of python + extension module `quaternion.la'. + +2010-12-16 Stefano Lattarini + + docs: list LTLIBRARIES among Automake primaries + * doc/automake.texi (Uniform): List `LTLIBRARIES' among + the Automake primaries. + +2010-12-13 Stefano Lattarini + Ralf Wildenhues + + Tests defs: requirement 'xsi-shell' must be synced with libtool. + * tests/defs (xsi-shell): Add comment telling to keep the + XSI-conformance checks in sync with libtool. + +2010-12-13 Stefano Lattarini + + Extend, fix and improve tests on Lex and Yacc support. + * tests/lexcpp.test: New test script, on support for Lex + C++. + * tests/lexvpath.test: New test script, test build and rebuild + rules for lexers in VPATH setup. + * tests/yacc-basic.test: New test script, run simple "semantic" + checks on basic Yacc support (similarly to what lex3.test does + for Lex support). + * tests/lex.test: Don't create useless dummy source file joe.l. + Remove extra blank lines. + * tests/lex4.test: Add trailing `:' command. Do not create dummy + useless lex source file. + * tests/lex2.test: Likewise. Call automake with the `-a' option, + so that it doesn't fail for the absence of `ylwrap' script. Make + grepping of automake stderr stricter. + * tests/yacc7.test: Add trailing `:' command. Enable `errexit' + shell flag earlier (just after having sourced ./defs). + * tests/yacc4.test: Likewise. Also ... + (configure.in): Use pre-populated skeleton set up by ./defs, + instead of writing one from scratch. + Other minor cosmetic changes. + * tests/yacc5.test: Likewise. + * tests/yaccvpath.test: Likewise. Also ... + ($distdir): New variable. + Use it throughout. + * tests/lex5.test: Likewise. + * tests/lex3.test: Likewise. Check the distdir, rather than + grepping the distribution tarball. Extend the test on the + created binary, and be sure to avoid hangs. Add some comments. + * tests/yacc.test: Use stricter grepping. Add trailing `:'. + * tests/yacc6.test: Likewise. + * tests/yacc3.test: Likewise. Do not create the unused file + `Makefile.sed'. Remove useless rules from Makefile.am. Other + minor cosmetic changes. + * tests/yacc2.test: Make grepping of generated `Makefile.in' and + of automake error messages stricter. Do not redirect output of + grep to /dev/null. Move call to aclocal earlier. Reduce the + number of empty blank lines. Fix a typo in comments. + * tests/yacc8.test: Fixed bugs that reduced the completeness of + the tests. Added trailing `:' command. + (configure.in): Use pre-populated skeleton set up by ./defs, + instead of writing one from scratch. + * tests/yaccpp.test: Test also extensions `.y++', `.ypp', and + `.yxx', rather than only `.yy'. + * tests/Makefile.am (TESTS): Update. + +2010-12-17 Stefano Lattarini + + Minor cleanups in canon7.test. + * tests/canon7.test (_foo_bar_SOURCES): Remove libs.c. + (configure.in): Remove AC_PROG_CXX. + +2010-12-16 Ralf Wildenhues + + Avoid false positive in sc_tests_plain_make maintainer-check. + * Makefile.am (sc_tests_plain_make): Ensure to only match full + `make' words. Avoid false positive with remake11.test. + +2010-12-16 Ralf Wildenhues + + Fix canon7.test failure. + * tests/canon7.test (_foo_bar_SOURCES): Add foobar.c. + (lib.h, libd.c, libs.c): Use const for constant strings. + +2010-12-16 Ralf Wildenhues + + Fix typos in test comments. + * tests/posixsubst-data.test, tests/posixsubst-extradist.test, + tests/posixsubst-ldadd.test, tests/posixsubst-libraries.test, + tests/posixsubst-ltlibraries.test, tests/posixsubst-programs.test, + tests/posixsubst-scripts.test, tests/posixsubst-sources.test, + tests/posixsubst-tests.test: Fix typos. + +2010-12-14 Stefano Lattarini + + More uses of AS_HELP_STRING in automake macros. + * m4/depend.m4 (AM_DEP_TRACK): Use `AS_HELP_STRING' to format + the help message added to the generated configure. + * m4/dmalloc.m4 (AM_WITH_DMALLOC): Likewise. + * m4/lispdir.m4 (AM_PATH_LISPDIR): Likewise. + * m4/maintainer.m4 (AM_MAINTAINER_MODE): Likewise. + * m4/multi.m4 (AM_ENABLE_MULTILIB): Likewise. + Also, bumped all serial numbers of the modified m4 files. + +2010-12-14 Stefano Lattarini + + Improve tests on generated portions of configure help screen. + * tests/help-depend.test: Grepping of configure help screen + relaxed to cater for possible line wrapping, and tightened in + other respects. + * tests/help-depend2.test: Likewise. + * tests/help-dmalloc.test: Likewise. + * tests/help-lispdir.test: Likewise. + * tests/help-maintainer.test: Likewise. + * tests/help-multilib.test: Likewise. + * tests/help-silent.test: Likewise. + * tests/help-upc.test: Likewise. + * tests/help-init.test: Grepping of configure help screen + tightened. + +2010-12-15 Stefano Lattarini + + Extended tests on AC_CONFIG_AUX_DIR. + * tests/auxdir.test: Enable `errexit' shell flag. Prefer `$me' + over hard-coded test name. Use proper m4 quoting. Add trailing + `:' command. + * tests/auxdir2.test: Likewise. Try to call automake also with + the `-a' option, so that it will not fail for spurious reasons. + * tests/auxdir3.test: Add an explanatory comment and a trailing + `:' command. + * tests/auxdir4.test: Prefer `$me' over hard-coded test name. + Make grepping of automake stderr slightly stricter. Also, now + this test just checks about Automake's reaction to unportable + auxiliary directory names (and it has been extended in this + respect). Moved the checks about non-existent auxiliary + directories to ... + * tests/auxdir5.test: ... this new test. + * tests/auxdir6.test: New test. + * tests/auxdir7.test: Likewise. + * tests/auxdir8.test: Likewise. + * tests/auxdir9.test: Likewise. + * tests/Makefile.am (TESTS): Updated. + +2010-12-06 Stefano Lattarini + + Tests: extend checks on remake rules. + This adds proper semantical tests (i.e. run make to check the + rebuild rules are correctly triggered) in addition to tentative + grepping of the generated Makefile.in(s). + * tests/remake.test: Enable `errexit' shell flag, and related + changes. Modernize `configure.in'. Add trailing `:' command. + Improve heading comments, and add a reference to new sister test + remake1a.test. + * tests/remake3.test: Likewise (but with sister test being + remake3a.test). + * tests/remake2.test: Improve heading comments. Enable `errexit' + shell flag, and related changes. Modernize `configure.in'. Make + grepping of `Makefile.in' slightly stricter. Add trailing `:' + command. + * tests/remake5.test: Also run the `distcheck' target. Add + trailing `:' command. Use proper m4 quoting in configure.in. + * tests/remake4.test: Prefer `$me' over hard-coded test name. + * tests/remake7.test: Use the `configure.in' stub created by + ./defs, rather than writing it from scratch. + * tests/remake6.test: Likewise. Also, add trailing `:' command, + and ensure verbose printing of captured make output. + * tests/remake1a.test: New test, sister of remake.test. + * tests/remake3a.test: New test, sister of remake3.test. + * tests/remake8a.test: New test. + * tests/remake8b.test: Likewise. + * tests/remake9a.test: Likewise. + * tests/remake9b.test: Likewise. + * tests/remake9c.test: Likewise. + * tests/remake9d.test: Likewise. + * tests/remake10a.test: Likewise. + * tests/remake10b.test: Likewise. + * tests/remake10c.test: Likewise. + * tests/remake11.test: Likewise. + * tests/remake12.test: Likewise. + * tests/Makefile.am (TESTS): Updated. + +2010-12-11 Stefano Lattarini + + Improve and extend tests on canonicalization. + * tests/canon-name.test: Add trailing `:' command. When writing + configure.in, prefer to use $me instead of hard-coding the test + name. + * tests/canon3.test: Prefer trailing `:' over trailing `Exit 0'. + * tests/canon4.test: Likewise. Make grepping of Makefile.in + stricter. Improve heading comment, and add reference to ... + * tests/canon6.test: ... this new test (sister test of the + previous one). + * tests/canon.test: Prefer cat + here-doc over echo to append + text to configure.in. Extend grepping of Automake stderr. Add + trailing `:' command. + * tests/canon5.test: Likewise. + * tests/canon7.test: New file, stress test on canonicalization. + * tests/canon8.test: New test, for better coverage (check that + the `@' character is not transliterated in canonicalizations). + * tests/Makefile.am: Updated. + +2010-12-13 Stefano Lattarini + + Libobj tests: refer to automake bug tracker for limitations. + * tests/libobj15b.test (configure.in): In the comment explaining + why an apparently redundant AC_OUTPUT is indeed needed, refer + to the relevant entry in the Automake bug tracker rather than + describing the bug in detail with a FIXME-style comment. + * tests/libobj15c.test: Likewise. + * tests/libobj20b.test: Likewise. + + Libobj tests: do not use `##' automake comments in-line. + * tests/libobj19.test (Makefile.am): Do not use inline `##' + comments in the definition of AUTOMAKE_OPTIONS. + * tests/libobj20c.test: Likewise. + Report by Ralf Wildenhues. + +2010-12-13 Ralf Wildenhues + + Fix testsuite failure of check12.test without DejaGNU. + * tests/check12.test: Require runtest. + +2010-12-12 Stefano Lattarini + + Tests defs: more uses of $top_testsrcdir. + * tests/compile6.test: Use `$top_testsrcdir' instead of + `$testsrcdir/..'. + +2010-11-12 Stefano Lattarini + + Tests required tools: also try `-v' option for GNU compilers. + * tests/defs.in: In the loop on "$required" tools, for gcc + and g++, also run "gcc -v" (resp. "g++ -v"), to get more + information, and for consistency with gcj. + +2010-11-12 Stefano Lattarini + Ralf Wildenhues + + Tests defs: avoid some useless subshells. + * tests/defs: In the loop on "$required" tools: avoid subshells + where not needed. + +2010-12-09 Stefano Lattarini + + Extend tests on AC_LIBOBJ and friends. + * tests/aclibobj.test: Removed, superseded by ... + * tests/libobj-basic.test: ... this new test, which runs autoconf, + ./configure and make, to ensure everything really works. + * tests/libobj3.test: Add trailing `:' command. Escape literal + dot in grep regexp. + * tests/libobj4.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. Use proper m4 quoting. + * tests/ltlibobjs.test: Likewise. + * tests/libobj5.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. Make more robust by using + longer filenames to be grepped. + * tests/libobj8.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. Use the configure.in + stub provided by ./defs, rather than writing it from scratch. + * tests/libobj2.test: Likewise. Also, add calls to autoconf, + ./configure and make, to ensure everything really works. + * tests/libobj7.test: Likewise, and ensure that at least one + function listed in AC_REPLACE_FUNCTIONS is truly replaced. + * tests/libobj13.test: Make grepping of Automake stderr slightly + stricter. Add trailing `:' command. + * tests/libobj12.test: Likewise. Also, prefer "cat + here-doc" + over "echo" to append to Makefile.am, and some cosmetic changes + in spacing. + * tests/libobj14.test: Call `Exit 1' if sourcing of ./defs fails. + Slighty improve m4 quoting. Add trailing `:' command. + * tests/libobj10.test: Add calls to autoconf, ./configure and + make, to ensure everything really works. Also, remove tests that + nonexistent source for AC_LIBOBJ cause an Automake failure: this + is already checked by ... + * tests/libobj15a.test: ... this new test. + * tests/libobj15b.test: New test, sister test of libobj15a.test, + checks AC_LIBSOURCE instead of AC_LIBOBJ. + * tests/libobj15c.test: New test, sister test of libobj15a.test, + checks AC_LIBSOURCES instead of AC_LIBOBJ. + * tests/libobj11.test: Removed, superseded by ... + * tests/libobj16a.test: ... this new test. + * tests/libobj16b.test: New test, sister test of libobj16a.test, + but using oldish/deprecated idioms. + * tests/libobj17.test: New test. + * tests/libobj18.test: Likewise. + * tests/libobj19.test: Likewise. + * tests/libobj20a.test: Likewise. + * tests/libobj20b.test: Likewise. + * tests/libobj20c.test: Likewise. + * tests/Makefile.am (TESTS): Updated. + +2010-12-08 Stefano Lattarini + + Test `$(var:suf=rpl)' expansion in special automake variables. + * tests/posixsubst-data.test: New test. + * tests/posixsubst-extradist.test: Likewise. + * tests/posixsubst-ldadd.test: Likewise. + * tests/posixsubst-libraries.test: Likewise. + * tests/posixsubst-ltlibraries.test: Likewise. + * tests/posixsubst-programs.test: Likewise. + * tests/posixsubst-scripts.test: Likewise. + * tests/posixsubst-sources.test: Likewise. + * tests/posixsubst-tests.test: Likewise. + * tests/Makefile.am (TESTS): Update. + +2010-12-07 Stefano Lattarini + + Make tests `colon*.test' more "semantic". + Prefer running configure and make over grepping the generated + files; this is both more correct and less fragile. + * tests/colon.test: Made more "semantic", as described above. + * tests/colon5.test: Likewise. + * tests/colon6.test: Likewise. + * tests/colon7.test: Likewise. + * tests/colon2.test: Likewise, and improve syncing with sister + test `colon3.test'. + * tests/colon3.test: Likewise (but with the sister test being + `colon2.test' here). + +2010-12-10 Stefano Lattarini + + 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. + +2010-12-10 Ralf Wildenhues + + Avoid running installed automake from 'libtool --help'. + * tests/subobj9.test: Export AUTOCONF and AUTOMAKE. + Together with fixed Libtool, this fixes check-coverage to not + invoke installed automake. + +2010-12-06 Stefano Lattarini + + Separate checks on target overriding into multiple test scripts. + * tests/overrid.test: Deleted, its contents separated into ... + * tests/override-suggest-local.test: ... this new test ... + * tests/override-html.test: ... and this new test ... + * tests/override-conditional-1.test: ... and this new test ... + * tests/override-conditional-2.test: ... and this new test (still + xfailing). + * tests/Makefile.am (TESTS, XFAIL_TESTS): Updated. + + Enable `set -e' in more tests (plus some tweakings). + * tests/implicit.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. + * tests/insh2.test: Likewise. + * tests/instman2.test: Likewise. + * tests/interp.test: Likewise. + * tests/interp2.test: Likewise. + * tests/library.test: Likewise. + * tests/mclean.test: Likewise. + * tests/info.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. Remove useless chaff from + generated Makefile.am. Add a "FIXME" comment. + * tests/include.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. Prefer cat + here-doc over + echo to append to configure.in. Make tests more robust by using + longer and less common names to grep. Remove an useless call to + echo. Remove an useless subshell. + * tests/header.test: Enable `errexit' shell flag, and related + changes. Use proper m4 quoting. Add excerpts from the original + report of the bug tested for by this script. + * tests/gcj.test: Enable `errexit' shell flag, and related + changes. Use proper m4 quoting. Add trailing `:' command. + * tests/gcj3.test: Likewise. + * tests/ldflags.test: Likewise. + * tests/libtool.test: Likewise. + * tests/listval.test: Likewise. + * tests/javaprim.test: Likewise, and prefer cat + here-doc over + echo to append to configure.in. + * tests/javasubst.test: Likewise. + * tests/discorver.test: Enable `errexit' shell flag. Prefer + trailing `:' over trailing `Exit 0'. + * tests/instdat.test: Enable `errexit' shell flag, and related + changes. Use proper m4 quoting. Avoid usless subshell. Prefer + cat + here-doc over echo to append to configure.in. + * tests/libtool2.test: Enable `errexit' shell flag, and related + changes. Add trailing `:' command. Use the configure.in + stub provided by ./defs, rather than writing it from scratch. + + 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 + + * 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 + + 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 + + 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 + + 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 + + Tests: consistently use "|| Exit 1" after ". ./defs". + * tests/autohdr.test: Use `. ./defs || Exit 1', not bare + `. ./defs', for consistency with other tests. + * tests/autohdr2.test: Likewise. + * tests/autohdr3.test: Likewise. + * tests/autohdr4.test: Likewise. + * tests/cond23.test: Likewise. + * tests/cond24.test: Likewise. + * tests/cond25.test: Likewise. + * tests/cond26.test: Likewise. + * tests/cond27.test: Likewise. + * tests/cond28.test: Likewise. + * tests/cond29.test: Likewise. + * tests/cond30.test: Likewise. + * tests/cond31.test: Likewise. + * tests/cond32.test: Likewise. + * tests/cond33.test: Likewise. + * tests/cond34.test: Likewise. + * tests/cond35.test: Likewise. + * tests/cond36.test: Likewise. + * tests/cond37.test: Likewise. + * tests/cond38.test: Likewise. + * tests/cond39.test: Likewise. + * tests/cond40.test: Likewise. + * tests/cond41.test: Likewise. + * tests/cond42.test: Likewise. + * tests/cond43.test: Likewise. + * tests/cond44.test: Likewise. + * tests/cond45.test: Likewise. + * tests/dollarvar.test: Likewise. + * tests/dollarvar2.test: Likewise. + * tests/hfs.test: Likewise. + * tests/libobj14.test: Likewise. + * tests/percent.test: Likewise. + * tests/percent2.test: Likewise. + * tests/phony.test: Likewise. + * tests/silent.test: Likewise. + * tests/silent2.test: Likewise. + * tests/silent3.test: Likewise. + * tests/silent4.test: Likewise. + * tests/silent5.test: Likewise. + * tests/silent6.test: Likewise. + * tests/silent7.test: Likewise. + * tests/silent9.test: Likewise. + * tests/silentcxx.test: Likewise. + * tests/silentf77.test: Likewise. + * tests/silentf90.test: Likewise. + * tests/silentlex.test: Likewise. + * tests/silentyacc.test: Likewise. + + Avoid useless cleaning in some `silent*.test' tests. + * tests/silentf77.test: Removed useless calls to "make clean" + and "make maintainer-clean". + * tests/silentf90.test: Likewise. + * tests/silent3.test: Removed useless call to "make distclean". + * tests/silent4.test: Likewise. + * tests/silent9.test: Likewise. + +2010-11-19 Ian Lance Taylor + + Sync config-ml.in from GCC. + * config-ml.in: Add Go support: treat GOC and GOCFLAGS like other + compiler/flag environment variables. + +2010-11-20 Stefano Lattarini + + release-stats: account for more generated tests. + * Makefile.am (release-stats): Be sure to take into account all + the generated tests, by grepping the test scripts to decide which + ones of them are automatically generated. + +2010-11-20 Stefano Lattarini + + Code cleanup after removal of option `--output-directory'. + * automake.in ($output_directory): Remove, it's unconditionally + defined to `.' and used only ... + (generate_makefile): ... in this subroutine, which now has been + edited and simplified accordingly. + + Remove obsolete automake option `--output-directory'. + This option has been deprecated since version 1.7 (2002/2003). + * automake.in ($output_directory): Define to `.' unconditionally. + (parse_arguments): Remove handling of equivalent options `-o' and + `--output-directory'. + * tests/outdir.test: Removed. + * tests/no-outdir-option.test: New test. + * tests/Makefile.am (TESTS): Updated. + * NEWS: Updated. + +2010-11-19 Stefano Lattarini + + Automake::Config: remove extra trailing semicolon. + * lib/Automake/Config.in: Remove extra trailing semicolon. + + help4.test: fix botched heading comment. + * tests/help4.test: Fixed the heading comment, since it + didn't correctly describe what checks the testcase was + supposed to perform. + + help2.test: add checks on aclocal too. + * tests/help2.test: Check that also `aclocal --version' and + `aclocal --help' work with configure.in and acinclude.m4 both + broken. + +2010-11-19 Stefano Lattarini + + New test on repeated automake options. + * tests/repeated-options.test: New test, check that automake + does not complain on repeated options, nor generate broken or + incorrect makefiles. + * tests/Makefile.am (TESTS): Updated. + +2010-11-17 Stefano Lattarini + + Fix spurious failures of silent-rules tests with Sun Fortran. + * tests/silentf77.test: Strip from the make output some verbose + messages possibly printed by the SunStudio fortran compilers, to + avoid spurious failures. Add a trailing `:' command. + * tests/silentf90.test: Likewise. + +2010-11-17 Stefano Lattarini + + Fix spurious failures of silent5.test with Sun Fortran. + * tests/silent5.test: Strip from the make output some verbose + messages possibly printed by the SunStudio fortran compilers, + to avoid spurious failures. This bug has been there from the + very first version of this test script. + +2010-11-16 Stefano Lattarini + + Fix regression in colon{5,6}.test (failures on AIX 5.3). + * tests/colon5.test: Also substitute `@SHELL@' with `$SHELL' when + post-processing the generated Makefile.in, to work around a bug + of AIX 5.3 make which doesn't allow setting the `$(SHELL)' macro + on the commend line. Calls to `$MAKE' adjusted accordingly. + * tests/colon6.test: Likewise. + Regression introduced in commit v1.11-175-gf9fe878 "Modernize, + improve and/or extend tests `colon*.test", and reported by Ralf + Wildenhues. + +2010-11-16 Stefano Lattarini + + Fix regression in ansi.test (failure on AIX 5.3). + * tests/ansi.test: Remove redundant hackish check done using a + hand-postprocessed Makefile.in. This check worked by setting + the `$(SHELL)' macro on the command line of make, but this is + not supported by the AIX 5.3 make implementation. + This bug has been lurking for a long time, and was activated by + commit v1.11-125-gc1f6cdb "Enable `errexit' shell flag in various + tests". Report by Ralf Wildenhues. + +2010-11-16 Ralf Wildenhues + + backcompat5.test: avoid '##'-style comments inside recipe commands. + * tests/backcompat5.test: Remove double-hash comments + from makefile rule commands, they are not part of the + Automake API. Fixes testsuite failure with Tru64 make. + + tests: avoid '##'-style comments inside recipe commands. + * tests/confh.test, tests/confh8.test: Remove + double-hash comments from makefile rule commands, they + are not part of the Automake API. + +2010-11-14 Ralf Wildenhues + + tests: work around dash quoting issue in case statements. + * tests/color.test, tests/color2.test: Quote variable in case + pattern, to avoid skipping tests with dash 0.5.5.1. + +2010-11-16 Peter Rosin + + Skip MSVC oriented tests if the shell is not capable. + * tests/defs: New required entry 'xsi-shell'. + * tests/ar-lib.test, tests/compile3.test, tests/compile6.test: + Require a XSI capable shell. + Reported by Ralf Wildenhues. + +2010-11-15 Peter Rosin + + compile: clear the `eat' variable earlier. + * lib/compile: Clear the `eat' variable earlier. + ($scriptversion): Update. + * tests/compile3.test: Prevent regressions. + +2010-11-14 Ralf Wildenhues + + More stable configure output from sanity check. + * m4/sanity.m4 (AM_SANITY_CHECK): Always print check line + about ensuring newer files, even if we don't actually need + to wait any more. + +2010-11-14 Ralf Wildenhues + + Rebuild menus in the manual. + * doc/automake.texi: Rebuild menus (using ^C ^U ^A in emacs). + Thanks to Ian Lance Taylor for the suggestion. + + Fix install-strip when $(STRIP) contains several words. + * lib/am/install.am (install-strip): Update comment. Use + separate sub-make invocations for empty and nonempty $(STRIP), + to fix quoting issues. + * tests/strip2.test, tests/strip3.test: New tests. + * tests/Makefile.am (TESTS): Adjust. + +2010-11-10 Ralf Wildenhues + + Fix yaccdry.test failure: require bison. + * tests/yaccdry.test: Require bison. + Found by NixOS Hydra. + +2010-11-12 Stefano Lattarini + + Fix bug in test `backcompat6.test' (MSYS portability). + * tests/backcompat6.test (Makefile.am): Grep the output from the + test program, rather than diffing it, to avoid spurious failures + on MinGW/MSYS due to LF vs. CRLF line endings. + Reported by Ralf Wildenhues. + +2010-11-13 Stefano Lattarini + + Deprecate obsolete macro AM_WITH_REGEX. + * m4/regex.m4: Document the `AM_WITH_REGEX' macro as obsolete, + and state that it should be removed two years from now. + (AM_WITH_REGEX): Raise an m4-time warning of the "obsolete" + category when this macro is used. + * doc/automake.texi (Public Macros): Move description of + `AM_WITH_REGEX' from here ... + (Obsolete Macros): ... to here, and declare it as obsolete + and "to be removed in a future version". + * tests/regex-obsolete.test: New test. + * tests/Makefile.am (TESTS): Update. + 2010-11-08 Stefano Lattarini Improve and extend tests on man pages support.