From 824c73e9d96aaca645fc35af5075d50a6c96f945 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Fri, 30 Nov 2012 15:33:15 +0100 Subject: [PATCH] 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 --- t/yacc-bison-skeleton-cxx.sh | 2 +- t/yacc-bison-skeleton.sh | 2 +- t/yacc-nodist.sh | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) 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 : -- 2.47.2