From: Stefano Lattarini Date: Fri, 30 Nov 2012 14:33:15 +0000 (+0100) Subject: tests: avoid two spurious failures on FreeBSD X-Git-Tag: v1.12.6~11^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c4f5cf2de8a71c4eb9dad14526215f58e90f918;p=thirdparty%2Fautomake.git tests: avoid two spurious failures on FreeBSD Due to the FreeBSD make bug that causes of the well-known automake bug#7884, two of our bison-requiring tests were failing on FreeBSD. To avoid this, simply skip the part of these tests affected by that bug. * t/yacc-bison-skeleton.sh: Here, using the 'yl_distcheck' function. * t/yacc-bison-skeleton-cxx.sh: Likewise. * t/yacc-nodist.sh: While at it, use the 'yl_distcheck' here as well, instead of running "$MAKE distcheck" only when $MAKE is GNU make. Signed-off-by: Stefano Lattarini --- diff --git a/t/yacc-bison-skeleton-cxx.sh b/t/yacc-bison-skeleton-cxx.sh index a02a25a8c..57e00915d 100755 --- a/t/yacc-bison-skeleton-cxx.sh +++ b/t/yacc-bison-skeleton-cxx.sh @@ -97,6 +97,6 @@ $MAKE # Check that distribution is self-contained, and do not require # bison to be built. -env YACC=false DISTCHECK_CONFIGURE_FLAGS='YACC=false' $MAKE -e distcheck +yl_distcheck YACC=false DISTCHECK_CONFIGURE_FLAGS='YACC=false' : diff --git a/t/yacc-bison-skeleton.sh b/t/yacc-bison-skeleton.sh index f4fdf327d..6d1ed6baa 100755 --- a/t/yacc-bison-skeleton.sh +++ b/t/yacc-bison-skeleton.sh @@ -71,6 +71,6 @@ $MAKE # Check that distribution is self-contained, and do not require # bison to be built. -env YACC=false DISTCHECK_CONFIGURE_FLAGS='YACC=false' $MAKE -e distcheck +yl_distcheck YACC=false DISTCHECK_CONFIGURE_FLAGS='YACC=false' : diff --git a/t/yacc-nodist.sh b/t/yacc-nodist.sh index 2e9c7e86b..97aa8e5ff 100755 --- a/t/yacc-nodist.sh +++ b/t/yacc-nodist.sh @@ -96,9 +96,6 @@ $MAKE $MAKE test-build $MAKE test-dist -# But the distribution must work correctly, assuming the user has -# the proper tools to process yacc files. Do this check only with -# GNU make, to avoid tripping on automake bug#7884. -if using_gmake; then $MAKE distcheck; fi +yl_distcheck :