From c4f86d620eb56586b9d0036d051d6e3ca88babf8 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Tue, 28 Aug 2012 11:52:45 +0200 Subject: [PATCH] tests: fix spurious failure in test on Flex headers * t/lex-headers.sh: Don't use 'yl_distcheck', simply call "make distcheck" instead, as GNU make cannot suffer of the FreeBSD bug 'yl_distcheck' was meant to guard against. (Makefile.am): Don't use $(AM_MAKEFLAGS) when invoking make recursively. This avoids a maintainer-check failure. Signed-off-by: Stefano Lattarini --- t/lex-header.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/lex-header.sh b/t/lex-header.sh index f8d7333e6..a0a57dfdd 100755 --- a/t/lex-header.sh +++ b/t/lex-header.sh @@ -34,7 +34,7 @@ BUILT_SOURCES = mylex.h # Recover from removal of header. mylex.h: foo-lexer.c test -f $@ || rm -f foo-lexer.c - test -f $@ || $(MAKE) $(AM_MAKEFLAGS) foo-lexer.c + test -f $@ || $(MAKE) foo-lexer.c END cat > lexer.l << 'END' @@ -81,6 +81,6 @@ $MAKE test -f mylex.h # Sanity check on distribution. -yl_distcheck +$MAKE distcheck : -- 2.47.2