[PATCH 6/6] More tests on AM_PROG_LEX, AC_PROG_LEX and @lex...@.

2010-05-20 Thread Stefano Lattarini
* tests/lexlib.test: New test, checks on @LEXLIB@ and $(LEXLIB). * tests/lex12.test: New test, checks on AC_PROG_LEX and AM_PROG_LEX. * tests/lex13.test: New test, checks on AM_PROG_LEX. * tests/lex3.test (configure.in): Use AC_PROG_LEX, not AM_PROG_LEX. * tests/lex5.test: Likewise. * tests/Makefil

Subject: [PATCH 5/6] New tests on Lex and Yacc dependencies declarations.

2010-05-20 Thread Stefano Lattarini
Yet more tests on Yacc/Lex support, this time explicitly meant to verify the output produced by the codepaths affected by our change. The new tests are admittedly pretty hackish, but are IMHO necessary. --- * tests/lex10.test: New test script. * tests/lex11.test: Likewise. * tests/yacc12.test: Li

[PATCH 4/6] automake.in: improve declaration of dependencies in generated Makefile.in

2010-05-20 Thread Stefano Lattarini
The promised change in automake that makes it declare more dependencies explicitly in the generated Makefile.in. With these change, all the new introduced tests that was failing with Heirlooom make now passes, and the test `silent5.test' passes too. A couple of older tests has to be adapted to wo

[PATCH 3/6] Add new tests on Lex and Yacc.

2010-05-20 Thread Stefano Lattarini
Add some more new test scripts on Lex/Yacc support. Some of these expose bugs in the Yacc/Lex support w.r.t. Heirloom make. --- * tests/lex7.test: New test. * tests/lex8.test: Likewise. * tests/lex9.test: Likewise. * tests/yacc10.test: Likewise. * tests/yacc11.test: Likewise. * tests/Makefile.am

[PATCH 2/6] New tests: Heirloom make and Lex/Yacc rules.

2010-05-20 Thread Stefano Lattarini
Add a couple of tests exposing bugs in the Yacc/Lex support w.r.t. Heirloom make. --- * tests/lex6.test: New test (fails if $MAKE is Heirloom make). * tests/yacc9.test: Likewise. * tests/Makefile.am (TESTS): Updated. --- ChangeLog |5 tests/Makefile.am |2 + tests/Makefile.in

[PATCH 1/6] Extend, fix and improve tests on Yacc/Lex support.

2010-05-20 Thread Stefano Lattarini
Refactor and improve existing tests on Lex/Yacc and add a couple of new test scripts on Lex. --- ChangeLog| 35 +++ tests/Makefile.am|2 + tests/Makefile.in|2 + tests/defs.in|7 +++ tests/lex2.test |2 + tests/lex3.test | 26 +

[PATCH 0/6] Lex, Yacc and explicit declarations of dependencies.

2010-05-20 Thread Stefano Lattarini
This patch series stems from a discussion on bug-automake: [] In short, some make implementations tend to use their built-in ".y => .o" and ".l => .o" rules instead of respectively the ".y => .c => .o" and ".l => .c => .o" implicit