From: Stefano Lattarini Date: Wed, 4 May 2011 20:50:59 +0000 (+0200) Subject: Merge branch 'maint' X-Git-Tag: ng-0.5a~183 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48a53a53adb6deb0246092befc0636b588e8d04d;p=thirdparty%2Fautomake.git Merge branch 'maint' --- 48a53a53adb6deb0246092befc0636b588e8d04d diff --cc ChangeLog index 77ec72b0f,62c5493f0..6c751c0c3 --- a/ChangeLog +++ b/ChangeLog @@@ -66,18 -19,11 +66,18 @@@ 2011-04-24 Stefano Lattarini tests: fix spurious failure in a test on TESTS (VPATH-related) - * check-tests-in-builddir.test: When not using the parallel-tests - option, do not check that VPATH components are not present in the - displayed test name, since the simple-tests driver do not try to - strip them. + * tests/check-tests-in-builddir.test: When not using the + parallel-tests option, do not check that VPATH components are + not present in the displayed test name, since the simple-tests + driver do not try to strip them. +2011-04-24 Stefano Lattarini + + tests: fix spurious failure in self-check-env-sanitize.test + * tests/self-check-env-sanitize.test: Open file descriptor `5' + to stdout. + Fix spurious failure introduced by merge `v1.11-788-g3b0c8d5'. + 2011-04-23 Stefano Lattarini test: self check subroutines for skipping/failing of tests @@@ -572,39 -348,13 +572,39 @@@ suggest the use of this latter macro instead. * lib/Automake/Variable.pm (%_am_macro_for_var): Pair 'LIBTOOL' with 'LT_INIT', not with 'AC_PROG_LIBTOOL'. - * libtool4.test: Adjust and extend. Also, add a call to macro - AC_PROG_CC in configure.in, to help ensuring that automake does - not fail for the wrong reasons. - * ltinit.test: New test, ensure that automake's libtool support - works with LT_INIT-based interface. + * tests/libtool4.test: Adjust and extend. Also, add a call to + macro AC_PROG_CC in configure.in, to help ensuring that automake + does not fail for the wrong reasons. + * tests/ltinit.test: New test, ensure that automake's libtool + support works with LT_INIT-based interface. Thanks to Jack Kelly for the suggestion. +2011-02-25 Stefano Lattarini + + tests: add testcases sanity-checking the testsuite + Helper subroutines, variables and other pieces of code defined + in the `tests/defs' and used by many testcases are non-obvious, + and tricky to get to work portably; but until now, they weren't + tested at all in a clear and self-contained way. + This change should remedy to the situation. + * tests/self-check-cleanup.test: New test, check removal of + temporary test working directory by `./defs'. + * tests/self-check-dir.test: New test, check that tests using + `./defs' create a proper temporary directory, and run in it. + * tests/self-check-exit.test: New test, check that, in case of + failing commands, the correct exit status is passed to the exit + trap installed by the `./defs' script. + * tests/self-check-is_newest.test: New test, checking the + `is_newest' subroutine. + * tests/self-check-me.test: New test, checking that $me gets + defined automatically by `tests/defs' if not set, and that it + can be overridden from either the shell or the environment. + * tests/self-check-sanity.test: New test, check that the sanity + checks performed by the `tests/defs' script works correctly. + * tests/self-check-unindent.test: New test, checking the + `unindent' subroutine. + * tests/Makefile.am (TESTS): Update. + 2011-02-20 Stefano Lattarini tests: tempdirs with restrictive permissions are cleaned correctly @@@ -1269,123 -668,12 +1269,123 @@@ * tests/vtexi4.test: Likewise. * tests/Makefile.am (TESTS): Updated. -2011-01-09 Peter Rosin +2011-01-11 Stefano Lattarini - Fix another typo in Rule.pm comment. - * lib/Automake/Rule.pm: Fix typo. + tests: fix spurious failure in 'tests/yflags-conditional.test' + * tests/yflags-conditional.test: Filter out message "warnings are + treated as errors" from automake stderr, to avoid a false positive + when grepping for extraneous warning messages. + +2011-01-10 Stefano Lattarini + + yacc: warn about conditional content in *YFLAGS variables + This change fixes automake bug#7804. + * automake.in (lang_yacc_target_hook): Warn if any of the relevant + *YFLAGS variables has conditional contents (not only a conditional + definition). Related refactoring. + * NEWS: Updated. + * tests/yflags-conditional.test: Updated and extended. + * tests/yflags-conditional-force.test: New test. + * tests/Makefile.am (TESTS): Updated. + +2011-01-08 Stefano Lattarini + + yacc: support variable expansions in *YFLAGS definition. + This change fixes automake bug#7800. + * automake.in (lang_yacc_target_hook): Use 'value_as_list_recursive' + instead of 'variable_value' to get the value of *YFLAGS variables. + Related changes. + ($DASH_D_PATTERN): Removed. + * tests/Makefile.am (XFAIL_TESTS): Remove yflags-var-expand.test. + * tests/yacc-clean.test: Remove workaround for now-fixed bug. + * NEWS: Update. + +2011-01-08 Stefano Lattarini + + yacc: more tests on *YFLAGS support + * tests/yflags-var-expand.test: New test, still xfailing. It + exposes automake bug#7800 -- "automake fails to honor `-d' in + AM_YFLAGS when variable expansions are involved". + * tests/yflags-d-false-positive.test: New test, checking that + automake do not spuriously see `-d' in *YFLAGS when that isn't + really there. + * tests/yflags-force-override.test: New test, checking that + automake can cope with definition of the YFLAGS variable in + Makefile.am (even if that is an extremely bad practice, as that + variable is user-reserved). + * tests/yflags-cmdline-override.test: New test, checking that + automake can cope with user-redefinition of YFLAGS at configure + time and/or at make time. + * tests/yflags-conditional.test: New test, checks that automake + warns on conditionally-defined *YFLAGS variables. + * tests/Makefile.am (TESTS, XFAIL_TESTS): Update. + +2011-01-08 Stefano Lattarini + + yacc: extend and improve tests + * tests/yacc-basic.test: Also check that the intermediate C file + is mentioned in the generated Makefile.in, and that it is created + by the first make invocation. + * tests/yacc3.test: Test removed, superseded by ... + * tests/yacc-d-basic.test: ... this new test. + * tests/yacc2.test: Add reference to that new test in the heading + comments. + * tests/yacc-d-vpath.test: New test. + * tests/yaccvpath.test: Updated heading comments. Do not require + gcc anymore, as any working C compiler should be enough. Remove + redundant comments. + * tests/yacc-nodist.test: New test. + * tests/yacc-dist-nobuild.test: New test. + * tests/Makefile.am (TESTS): Update. + +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. - 2011-01-09 Stefano Lattarini + 2011-01-09 Stefano Lattarini cosmetics: remove trailing whitespaces * doc/automake.texi: Remove trailing whitespaces. @@@ -1426,27 -713,7 +1426,27 @@@ manual for how to convert directory values into macros. (Optional): Fix grammar nit. +2011-01-07 Stefano Lattarini + + yacc: "make clean" removes .c and .h files from non-distributed .y + Previously, while automake did *not* distribute C source and header + files derived from non-distributed Yacc sources, it still caused + them to be removed only by "make maintainer-clean" only, and not by + simply "make clean" or "make distclean". + This caused "make distcheck" to fail, unless the developer put + those generated .c and .h files in CLEANFILES or in DISTCLEANFILES + by hand. + This change fixes this issue, by making non-distributed `.c' and + `.h' files generated by non-distributed Yacc sources cleaned by + "make clean". + * tests/automake.in (lang_yacc_target_hook): Make C source and + header files derived from non-distributed Yacc files cleaned by + "make clean", not only by "make maintainer-clean". + * tests/yacc-clean.test: New test. + * tests/Makefile.am (TESTS): Update. + * NEWS: Update. + - 2011-01-02 Stefano Lattarini + 2011-01-02 Stefano Lattarini * NEWS: Fix typo (forgotten word).