automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[automake-commit] branch master updated: tests: auxdir-pr19311.sh no lon


From: Jim Meyering
Subject: [automake-commit] branch master updated: tests: auxdir-pr19311.sh no longer fails with latest autoconf
Date: Mon, 16 Nov 2020 12:34:59 -0500

This is an automated email from the git hooks/post-receive script.

meyering pushed a commit to branch master
in repository automake.

View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=7cdef9f77688ece01509ba384d3e324a53d9dcda

The following commit(s) were added to refs/heads/master by this push:
     new 7cdef9f  tests: auxdir-pr19311.sh no longer fails with latest autoconf
7cdef9f is described below

commit 7cdef9f77688ece01509ba384d3e324a53d9dcda
Author: Jim Meyering <meyering@fb.com>
AuthorDate: Mon Nov 16 09:34:23 2020 -0800

    tests: auxdir-pr19311.sh no longer fails with latest autoconf
    
    * 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 | 7 +++++++
 t/list-of-tests.mk  | 1 -
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/t/auxdir-pr19311.sh b/t/auxdir-pr19311.sh
index 26f55d7..7add754 100644
--- a/t/auxdir-pr19311.sh
+++ b/t/auxdir-pr19311.sh
@@ -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
diff --git a/t/list-of-tests.mk b/t/list-of-tests.mk
index 1a3bb98..a3cb000 100644
--- a/t/list-of-tests.mk
+++ b/t/list-of-tests.mk
@@ -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 \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]