From: Stefano Lattarini Date: Sat, 15 Jan 2011 14:49:52 +0000 (+0100) Subject: Merge branch 'warns-win-over-strictness' X-Git-Tag: ng-0.5a~254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4f5bbe6f3094c3817efa63695844a5b1dca2ceb;p=thirdparty%2Fautomake.git Merge branch 'warns-win-over-strictness' * warns-win-over-strictness: Update docs w.r.t. warning and strictness options. More tests on warnings/strictness precedence. Update NEWS about the warnings-over-strictness precedence. Warnings win over strictness in AUTOMAKE_OPTIONS. Change signature of 'Automake::Options::_process_option_list()'. Add more tests about AUTOMAKE_OPTIONS. Warnings win over strictness in AM_INIT_AUTOMAKE. Warnings win over strictness on command line. More tests on warnings and strictness. New test on silent-rules mode and portability warnings. Add new tests on strictness and warnings precedence and overriding. --- f4f5bbe6f3094c3817efa63695844a5b1dca2ceb diff --cc ChangeLog index 651ba4803,8d335fe3e..cb7cf2a8b --- a/ChangeLog +++ b/ChangeLog @@@ -1,41 -1,97 +1,135 @@@ + 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.