From: Stefano Lattarini Date: Tue, 28 Aug 2012 09:52:45 +0000 (+0200) Subject: tests: fix spurious failure in test on Flex headers X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4f86d620eb56586b9d0036d051d6e3ca88babf8;p=thirdparty%2Fautomake.git 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 --- 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 :