tests: avoid FreeBSD make VPATH issues in more tests (see bug#7884)
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 18 Feb 2012 08:47:57 +0000 (09:47 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 18 Feb 2012 09:32:09 +0000 (10:32 +0100)
commit21af8bfd077dad5411ba07bd2208b6d216ad686f
tree2f1a7ce5b4ebb6a739bcf35d3d3f30f2b7e33fac
parent0402db9837e0a482a01d0485a5c1c500d26ac6c3
tests: avoid FreeBSD make VPATH issues in more tests (see bug#7884)

See also similar change 'v1.11-755-g818bc40' of 07-02-2012,
"tests: work around bug#7884 in many yacc/lex tests".  The
rationale for this change is basically the same.

* tests/lex-lib-external.test: Use "yl_distcheck" instead of
bare "$MAKE distcheck" to avoid extra failures caused by
automake bug#7884.
* tests/lex-noyywrap.test: Likewise.
* tests/lex-libobj.test: Likewise.
* tests/man6.test: This test suffers from the same FreeBSD make
incompatibility in VPATH handling that is the source of automake
bug#7884.  Since this is caused by rules that are defined in the
Makefile.am by the test itself, rather that being generated by
automake, the best thing to do is to skip this test if we detect
the presence of said make incompatibility (through the function
'useless_vpath_rebuild').
* tests/man8.test: Likewise.
tests/lex-lib-external.test
tests/lex-libobj.test
tests/lex-noyywrap.test
tests/man6.test
tests/man8.test