From: Ralf Wildenhues Date: Sun, 16 Jan 2011 11:15:19 +0000 (+0100) Subject: Merge branch 'maint' X-Git-Tag: ng-0.5a~253 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1456186dab6c7e9384aa54d113b2e1ad0aadc2dd;p=thirdparty%2Fautomake.git Merge branch 'maint' --- 1456186dab6c7e9384aa54d113b2e1ad0aadc2dd diff --cc ChangeLog index cb7cf2a8b,675f18559..4f052b00f --- a/ChangeLog +++ b/ChangeLog @@@ -1,135 -1,32 +1,164 @@@ + 2011-01-16 Ralf Wildenhues + + Fix parallel-tests.test failure with HP-UX make. + * tests/parallel-tests.test: Sleep inside inner tests, so logs + are newer than logs of tests they depend on, for HP-UX make. + + 2011-01-15 Ralf Wildenhues + + docs: ensure example are separated with empty lines in the input + * doc/automake.texi (Extending aclocal, Emacs Lisp, Rebuilding) + (API Versioning, Renamed Objects, Multiple Outputs): Add empty + lines before `@example' and after `@end example' lines, so info + output is rendered correctly, and a following @noindent honored. + Report by Stefano Lattarini. + + 2011-01-15 Jim Meyering + + tests: fix comment typo + * tests/substref.test: Fix grammar in a comment. + + 2011-01-13 Stefano Lattarini + + tests: fix spurious failures in two texinfo tests + * tests/txinfo.test ($required): Add 'makeinfo'. + * tests/txinfo8.test: Create a dummy 'textutils.info' file, so + that make won't try to run makeinfo (which could be unavailable) + to build it. + Found by NixOS Hydra, reported by Ralf Wildenhues. + +2011-01-15 Stefano Lattarini + + Update docs w.r.t. warning and strictness options. + * doc/automake.texi (Strictness): Document that some warnings are + turned off by default in `foreign' strictness. + (Options): Divide into new sections "Options generalities" and + "List of Automake options". Fix typo (colon instead of full + stop). Document option precedence (AUTOMAKE_OPTIONS wins over + AM_INIT_AUTOMAKE which wins over command line). Also document + interactions between options specifying strictness and those + specifying warnings. + + More tests on warnings/strictness precedence. + * tests/warning-groups-win-over-strictness.test: New test, similar + to `warnings-win-over-strictness.test', but checking the explicit + catch-all warning flags (like `-Wall' and `-Wnone'). + * tests/Makefile.am (TESTS): Update. + + Update NEWS about the warnings-over-strictness precedence. + * NEWS: Automake explicit warning levels always take precedence + over the implicit warning levels implied by Automake strictness. + + For PR automake/547: + Warnings win over strictness in AUTOMAKE_OPTIONS. + Ensure that, for what concerns the options specified in + AUTOMAKE_OPTIONS, explicitly-defined warnings always take + precedence over implicit strictness-implied warnings. + This finally fixes Automake bug#7669 a.k.a. PR/547. + * automake.in (handle_options): Call 'process_option_list' + only once per set of options. + * lib/Automake/Options.pm (process_global_option_list, + process_option_list): Add sanity checks. + ($_options_processed, $_global_options_processed): New + internal variables, used by the sanity checks above. + * tests/warnings-win-over-strictness.test: Extend. + + For PR automake/547: + Change signature of 'Automake::Options::_process_option_list()'. + This only modifies internal details in the automake implementation, + bearing no externally visible effect, but preparing the way for the + final fix of Automake bug#7669 a.k.a. PR/547. + * lib/Automake/Options.pm (_process_option_list): Accept as + arguments a list of hash references with keys 'option' and 'where', + where 'option' is an option as might occur in AUTOMAKE_OPTIONS or + AM_INIT_AUTOMAKE, and 'where' is the location where it occurred. + (process_option_list, process_global_option_list): Updated. + * automake.in (handle_options, scan_autoconf_traces): Update. + + Add more tests about AUTOMAKE_OPTIONS. + In view of soon-to-follow refactorings (still in the pursuit of a + fix for Automake bug#7669 a.k.a. PR/547), add some more tests on + AUTOMAKE_OPTIONS support, to prevent obvious regressions. + * tests/amopts-variable-expansion.test: New test. + * tests/amopts-location.test: Likewise. + * tests/Makefile.am (TESTS): Update. + + For PR automake/547: + Warnings win over strictness in AM_INIT_AUTOMAKE. + This change ensures that, for what concerns the options specified + in AM_INIT_AUTOMAKE, explicitly-defined warnings always take + precedence over implicit strictness-implied warnings. Related to + Automake bug#7669 a.k.a. PR/547. + * lib/Automake/Options.pm (_process_option_list): Parse explicit + warnings only after the strictness level has been set. Fix POD + documentation. + * tests/warnings-win-over-strictness.test: Extend. + + For PR automake/547: + Warnings win over strictness on command line. + Ensure that, on the command line at least, explicitly defined + warnings always take precedence over implicit strictness-implied + warnings. Related to Automake bug#7669 a.k.a. PR/547. + * automake.in (parse_arguments): Parse warnings only after the + strictness level has been processed. + * tests/gnuwarn.test: Update, plus miscellaneous improvements. + * tests/warnings-win-over-strictness.test: New test. + * tests/Makefile.am (TESTS): Update. + + More tests on warnings and strictness. + * tests/warnings-strictness-interactions.test: New test. + * tests/warnings-unknown.test: Likewise. + * tests/Makefile.am (TESTS): Update. + + New test on silent-rules mode and portability warnings. + * tests/silent-nowarn.test: New test. + * tests/Makefile.am (TESTS): Update. + + Add new tests on strictness and warnings precedence and overriding. + * tests/strictness-override.test: New test. + * tests/strictness-precedence.test: New test. + * tests/warnings-override.test: New test. + * tests/warnings-precedence.test: New test. + * tests/Makefile.am (TESTS): Update. + +2011-01-15 Ralf Wildenhues + + Fix remake rule-induced test failures with HP-UX make. + * tests/remake1a.test: Require GNU make. + +2011-01-15 Ralf Wildenhues + + Fix remake rule-induced test failures with HP-UX make. + * tests/colon6.test: Update timestamp of subdir Makefile, so we + do not spuriously invoke the nonexistent toplevel am--refresh + rule. + + tests: fix typos in colon6.test + * tests/colon6.test: Fix typos. + +2011-01-15 Ralf Wildenhues + Stefano Lattarini + + tests: explain MSYS setup failure issue, improve test. + * tests/defs: Add comment and failure message, improve fail + logic. + +2011-01-15 Ralf Wildenhues + + Fix libobj2.test failure with non-GNU make: define $(AR). + * tests/libobj2.test: Ensure $(AR) is suitably defined. + +2011-01-15 Ralf Wildenhues + + tests: avoid spurious failures due to fork failure in test setup + * tests/defs: Ensure $me is always nonempty, to avoid spurious + failures on MinGW/MSYS in case the preceding sed command could + not be spawned. + + Avoid configure warnings from wait about reused PIDs. + * m4/sanity.m4 (AM_SANITY_CHECK): Hide wait stderr output. + Fixes spurious failure of depcomp2.test. + 2011-01-13 Ralf Wildenhues Avoid testsuite failures due to Autoconf Fortran change. diff --cc tests/txinfo.test index cda39d266,b764e53d3..3b7be7642 --- a/tests/txinfo.test +++ b/tests/txinfo.test @@@ -18,8 -18,11 +18,9 @@@ # Test to ensure texinfo.tex is included in distribution. Bug report by # Jim Meyering. + required=makeinfo . ./defs || Exit 1 -set -e - cat >> configure.in <<'END' AC_OUTPUT END