Merge branch 'yacc-work' into yl-work-for-master
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 12 Feb 2012 14:06:17 +0000 (15:06 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 12 Feb 2012 14:32:54 +0000 (15:32 +0100)
commite6c40d4bba3155a8dd2406806a7be51d3ac73ed0
tree4caf0f32c690a3195eda4e5f58763347e5608464
parent19bab32531bc8c41e984460a2fa59205ecb623cd
parentabe0587b12ac59561d011640d998e7dd74b1820f
Merge branch 'yacc-work' into yl-work-for-master

* yacc-work: (37 commits)
  fixup: list of yacc/lex tests was botched
  tests: work around bug#7884 in many yacc/lex tests
  yacc/lex tests: remove an unneeded workaround for bug#8485
  yacc/lex tests: avoid too much failures with FreeBSD make
  yacc-dist-nobuild.test: add reference to bug#7884
  yacc tests: fix bug in 'yacc-cxx.test'
  lex tests: fix spurious link errors on Solaris
  lex: "make clean" removes .c files from non-distributed .l
  lex tests: make test on Lex dependency tracking more "semantic"
  lex tests: remove erroneous check about ylwrap distribution
  yacc tests: "make clean" removes C++ files from non-distributed .y
  tests: add a workaround for automake bug#8485
  tests: add a couple of inter-tests reference
  lex tests: require just `lex' instead of `flex'
  fix typo in ChangeLog (2011-05-04)
  tests defs: use `skip_' for skipping yacc/lex related tests
  lex/yacc tests: remove redundant $distdir definition
  coverage: test lex-generated "#line" directives postprocessing
  tests: minor improvements to a couple of yacc tests
  tests: fix spurious failure in test 'yacc-d-cxx.test'
  ...

+ Extra non-trivial edits:

* tests/defs.in: Delete; the differences from maint has been
merged into 'tests/defs' and 'tests/defs-static.in'.
* tests/defs (yacc, lex): Use 'skip_all_', not 'skip_', to
skip the whole test case if yacc (resp. lex) is missing.
(bison): New, set up the environment so that 'bison -y' will
be used as the yacc program.
(useless_vpath_rebuild, yl_distcheck): Moved in from
'tests/defs.in'.
* tests/defs-static.in ($YACC, $LEX): Default to the values
determined at configure time, and allow them to be overridden
by the more namespace-safe variables '$AM_TESTSUITE_YACC' and
'$AM_TESTSUITE_LEX' respectively.
* tests/Makefile.am (do_subst): Also substitute '@YACC@' and
'@LEX@'.
* Several tests: Fix requirements declarations, by preferring
'lex' and 'yacc' over 'flex' and 'bison' whenever possible.
33 files changed:
ChangeLog.11
NEWS
automake.in
configure.ac
doc/automake.texi
tests/Makefile.am
tests/cond35.test
tests/defs
tests/defs-static.in
tests/lex-depend-grep.test
tests/lex-subobj-nodep.test
tests/lex3.test
tests/lex5.test
tests/lexvpath.test
tests/list-of-tests.mk
tests/silent-many-gcc.test
tests/silent-many-generic.test
tests/subpkg-yacc.test
tests/subpkg.test
tests/yacc-basic.test
tests/yacc-clean.test
tests/yacc-d-basic.test
tests/yacc-d-vpath.test
tests/yacc-dist-nobuild-subdir.test
tests/yacc-dist-nobuild.test
tests/yacc-nodist.test
tests/yacc-pr204.test
tests/yacc4.test
tests/yacc8.test
tests/yaccdry.test
tests/yaccpp.test
tests/yaccvpath.test
tests/yflags-force-override.test