]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Merge commit 'tests-lexyacc-extend' into yacc-works
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 8 Jan 2011 12:33:41 +0000 (13:33 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 8 Jan 2011 12:33:41 +0000 (13:33 +0100)
Extend, fix and improve tests on Lex and Yacc support.

1  2 
ChangeLog
tests/Makefile.am
tests/Makefile.in

diff --cc ChangeLog
index 2482bbfddc47721933c0d6f41937b59459a01765,be6bf5a3dfd75f1cb08bac0f847e92821aa46799..13fdc61e03a465aca8bda926e62b02555640fe8a
+++ b/ChangeLog
+ 2010-12-13  Stefano Lattarini  <stefano.lattarini@gmail.com>
+       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-07   Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      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  <stefano.lattarini@gmail.com>
 +
 +      * NEWS: Fix typo (forgotten word).
 +
 +2011-01-02   Stefano Lattarini  <stefano.lattarini@gmail.com>
 +           Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      docs: how to work around checks on invalid primary/directory couples
 +      * doc/automake.texi (Uniform): Document the blessed idiom which can
 +      be used to work around automake checks on invalid primary/directory
 +      couples (such as `lib_PROGRAMS' or `doc_LIBRARIES').
 +
 +2011-01-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +
 +      Sync auxiliary files from upstream.
 +      * lib/config.guess, lib/config.sub, lib/texinfo.tex:
 +      Sync from upstream.
 +
 +      Fix maintainer-check regression.
 +      * tests/subobj11a.test: Pass DISTCHECK_CONFIGURE_FLAGS in the
 +      environment.
 +
 +      Bump copyright years.
 +      * aclocal.in (write_aclocal, version): Bump copyright years.
 +      * automake.in (gen_copyright, version): Likewise.
 +      * doc/automake.texi: Likewise.
 +
 +2010-12-23  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 +          Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Work around a bug in file-inclusion mechanism of Solaris make.
 +      * automake.in (handle_single_transform): In the name of the
 +      dependency file: collapse multiple slash characters into a single
 +      one.
 +      * tests/subobj11a.test: New test.
 +      * tests/subobj11b.test: Likewise.
 +      * tests/subobj11c.test: Likewise.
 +      * tests/depcomp8a.test: Likewise.
 +      * tests/depcomp8b.test: Likewise.
 +      * tests/Makefile.am (TESTS): Updated.
 +      * NEWS: Updated.
 +      Report by Stefano Lattarini, quick fix by Ralf Wildenhues, final
 +      patch and tests by Stefano Lattarini.
 +
 +2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      Fix two spurious testsuite failures on IRIX 6.5.
 +      * tests/suffix13.test (Makefile.am): Account for VPATH issues on
 +      weaker make implementations (e.g. IRIX 6.5).
 +      * tests/parallel-tests8.test: Likewise, plus a required related
 +      change.
 +      Reported by Ralf Wildenhues.  The bugs have been there from the
 +      first versions of the affected test scripts.
 +
 +2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      docs: cygnus mode doesn't require AM_CYGWIN32 macro.
 +      * doc/automake.texi (Cygnus): Mode 'cygnus' does not require
 +      the AM_CYGWIN32 macro (and indeed hasn't required it since at
 +      least commit Release-1-2-31-g3038064 "merged changes from
 +      Cygnus" of 1997-08-25).
 +
 +2010-12-22  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      distlinksbrk.test: Work around botched "make -k".
 +      * tests/distlinksbrk.test: Run "make" multiple times and grep
 +      its output each time for a single error message, rather than
 +      running "make -k" one single time and grepping its output for
 +      all the expected error messages.  This should work around make
 +      implementations with limited (broken?) `-k' support; for more
 +      information, see these subthreads on the automake-patches list:
 +        - 2010-11-15, "Testsuite failures on HP-UX 11.23",
 +          <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00162.html>
 +        - 2010-11-15, "Testsuite failures on IRIX 6.5",
 +          <http://lists.gnu.org/archive/html/automake-patches/2010-11/msg00166.html>
 +
 +2010-12-21  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      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-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      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  <stefano.lattarini@gmail.com>
 +
 +      docs: list LTLIBRARIES among Automake primaries
 +      * doc/automake.texi (Uniform): List `LTLIBRARIES' among
 +      the Automake primaries.
 +
 +2010-12-14  Stefano Lattarini  <stefano.lattarini@gmail.com>
 +
 +      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-10  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
  
        Avoid running installed automake from 'libtool --help'.
index bed5e411cbe59de6649010b143faa07ad6c7a0ec,52d3a58d3e5a7e4b3dbfce391d518427c24fbbf8..00829ef5bee4ba5a69547aeb112a0f85d24f329d
@@@ -793,7 -790,7 +795,8 @@@ werror3.test 
  whoami.test \
  xsource.test \
  xz.test \
+ yacc-basic.test \
 +yacc-clean.test \
  yacc.test \
  yacc2.test \
  yacc3.test \
index 77e9a384dcd40b9a597fc8d9dfb08812ac675cc4,b4a896ce42e758cc9112d67f8c7a6dac4c10adab..3813e8f4e79bf96a2fcfbc516c4e4f8d08fc3588
@@@ -1060,7 -1057,7 +1062,8 @@@ werror3.test 
  whoami.test \
  xsource.test \
  xz.test \
+ yacc-basic.test \
 +yacc-clean.test \
  yacc.test \
  yacc2.test \
  yacc3.test \