]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: auxdir-pr19311.sh no longer fails with latest autoconf
authorJim Meyering <meyering@fb.com>
Mon, 16 Nov 2020 17:34:23 +0000 (09:34 -0800)
committerJim Meyering <meyering@fb.com>
Mon, 16 Nov 2020 17:34:23 +0000 (09:34 -0800)
* t/list-of-tests.mk (XFAIL_TESTS): Remove from this list.
* t/auxdir-pr19311.sh: Instead, run this test only when autoconf
is 2.69d or newer.  Otherwise, skip it.

t/auxdir-pr19311.sh
t/list-of-tests.mk

index 26f55d742e8e3e5c5af31512014aa1c6180b1ee3..7add754681b902ad05fd2a9b9b0f288ce4f0467c 100644 (file)
@@ -21,6 +21,13 @@ am_create_testdir=empty
 required=cc
 . test-init.sh
 
+ver=$($AUTOCONF --version | sed -n '1s/.* //p')
+case $ver in
+  2.69[d-z]) ;;
+  2.70*) ;;
+  *) skip_ 'this test passes with autoconf-2.69d and newer'
+esac
+
 cat > configure.ac <<END
 AC_INIT([$me], [1.0])
 AC_PROG_CC
index 1a3bb986d122c355d55c56d12af642ade391b71a..a3cb0004feb203d86eed23394bbcbb12ba4cf8d8 100644 (file)
@@ -30,7 +30,6 @@ t/pm/Version3.pl
 
 XFAIL_TESTS = \
 t/all.sh \
-t/auxdir-pr19311.sh \
 t/cond17.sh \
 t/gcj6.sh \
 t/override-conditional-2.sh \