tests: more coverage on yacc/lex silent-rules, plus minor cleanups
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 20 Jan 2011 00:11:51 +0000 (01:11 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 22 Jan 2011 17:22:53 +0000 (18:22 +0100)
commit0283a956cd5f0a4522e2c3f1fa7155944464348e
tree0f8dd8467998af76cd53fe9019e129d1cd1908db
parent0532535cad4197145cef54918b641e373629b264
tests: more coverage on yacc/lex silent-rules, plus minor cleanups

* tests/silent-yacc-gcc.test: Add sanity checks verifying that the
generated Makefile.in files really contains the non-generic rules
we expect.  Do not redundantly manually remove files we know to be
already removed "make maintainer-clean".
(Makefile.am): Ensure we cover also non-generic yacc rules, by
setting target-specific YFLAGS.
(sub/Makefile.am): Likewise.
* tests/silent-yacc-generic.test: Likewise.
* tests/silent-lex-gcc.test: Likewise, but with LFLAGS instead of
YFLAGS.
* tests/silent-lex-generic.test: Likewise.
* tests/silent-many-gcc.test: Likewise, but with both LFLAGS and
YFLAGS.  Also ...
(do_and_check_verbose_build): Remove redundant blank line.
* tests/silent-many-generic.test: Likewise.
* tests/silent-yacc-headers.test: New test.
* tests/Makefile.am (TESTS): Update.
ChangeLog
tests/Makefile.am
tests/Makefile.in
tests/silent-lex-gcc.test
tests/silent-lex-generic.test
tests/silent-many-gcc.test
tests/silent-many-generic.test
tests/silent-yacc-gcc.test
tests/silent-yacc-generic.test
tests/silent-yacc-headers.test [new file with mode: 0755]