summaryrefslogtreecommitdiff
path: root/tests/lex-libobj.test
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-02-18 09:47:57 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-02-18 10:32:09 +0100
commit21af8bfd077dad5411ba07bd2208b6d216ad686f (patch)
tree2f1a7ce5b4ebb6a739bcf35d3d3f30f2b7e33fac /tests/lex-libobj.test
parent0402db9837e0a482a01d0485a5c1c500d26ac6c3 (diff)
downloadautomake-21af8bfd077dad5411ba07bd2208b6d216ad686f.tar.gz
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.
Diffstat (limited to 'tests/lex-libobj.test')
-rwxr-xr-xtests/lex-libobj.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lex-libobj.test b/tests/lex-libobj.test
index 3bd4f8aa9..3837a0b1b 100755
--- a/tests/lex-libobj.test
+++ b/tests/lex-libobj.test
@@ -70,6 +70,6 @@ grep LIBOBJS Makefile # For debugging.
grep '^LIBOBJS *=.*yywrap.*\.o' Makefile # Sanity check.
$MAKE
-$MAKE distcheck
+yl_distcheck
: