summaryrefslogtreecommitdiff
path: root/t/yacc-dist-nobuild-subdir.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/yacc-dist-nobuild-subdir.sh')
-rw-r--r--t/yacc-dist-nobuild-subdir.sh13
1 files changed, 4 insertions, 9 deletions
diff --git a/t/yacc-dist-nobuild-subdir.sh b/t/yacc-dist-nobuild-subdir.sh
index d9aa0b639..e37d962c7 100644
--- a/t/yacc-dist-nobuild-subdir.sh
+++ b/t/yacc-dist-nobuild-subdir.sh
@@ -15,16 +15,11 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Check that VPATH builds and "make distcheck" works with packages
-# using yacc and the automake 'subdir-objects' option.
-# Exposes automake bug#8485.
+# using yacc sources in a subdir option. Exposes automake bug#8485.
required='cc yacc'
. test-init.sh
-# This test is bounded to fail for any implementation that
-# triggers automake bug#7884.
-useless_vpath_rebuild && skip_ "would trip on automake bug#7884"
-
cat >> configure.ac << 'END'
AC_PROG_CC
AC_PROG_YACC
@@ -48,7 +43,6 @@ int main (void)
END
cat > Makefile.am <<'END'
-AUTOMAKE_OPTIONS = subdir-objects
noinst_PROGRAMS = foo bar
foo_SOURCES = sub/parse.y
bar_SOURCES = $(foo_SOURCES)
@@ -84,9 +78,10 @@ chmod u+w .
# Try to enable dependency tracking even with slow dependency
# extractors, to improve coverage.
../configure --enable-dependency-tracking YACC=false
-$MAKE
+
+$MAKE all YACC=false
ls -l sub/*.[ch] && exit 1
-env DISTCHECK_CONFIGURE_FLAGS='YACC=false' $MAKE distcheck
+$MAKE distcheck YACC=false DISTCHECK_CONFIGURE_FLAGS='YACC=false'
: