summaryrefslogtreecommitdiff
path: root/tests/lflags2.test
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-06-21 20:56:08 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-06-21 21:07:57 +0200
commitfee7d0d34e5cd1145c1de58466062704183f61c9 (patch)
tree55940c79632304d0fb56e9a86986c1ef3d0338a4 /tests/lflags2.test
parent65a2059a21fa318e048af43a7a6628d7c5fd39a5 (diff)
downloadautomake-fee7d0d34e5cd1145c1de58466062704183f61c9.tar.gz
Fix minor testsuite issues, update docs, for Yacc/Lex changes.
* doc/automake.texi (Yacc and Lex): Mention AM_YFLAGS, YFLAGS and AM_LFLAGS, LFLAGS in the order in which they now appear in the rules. * NEWS: Update. * tests/lflags.test, tests/lflags2.test, tests/yflags.test, tests/yflags2.test: Prefer `make -e' over `make VAR=VAL', to please maintainer-check. Ensure generated C files contain a declaration, to please compilers. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'tests/lflags2.test')
-rwxr-xr-xtests/lflags2.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lflags2.test b/tests/lflags2.test
index e50678e87..df766b2b6 100755
--- a/tests/lflags2.test
+++ b/tests/lflags2.test
@@ -27,6 +27,7 @@ set -e
cat >fake-lex <<'END'
#!/bin/sh
echo '/*' "$*" '*/' >lex.yy.c
+echo 'extern int dummy;' >> lex.yy.c
END
chmod a+x fake-lex
@@ -59,7 +60,7 @@ echo 'int main(void) { return 0; }' > main.cc
$AUTOCONF
./configure
-$MAKE LFLAGS=__user_flags__
+env LFLAGS=__user_flags__ $MAKE -e
ls -l