branch development updated: Update tests without aclocal to expect failure

Ileana Dumitrescu <[email protected]>
Newsgroups gmane.comp.gnu.libtool.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

ildumi pushed a commit to branch development
in repository libtool.

The following commit(s) were added to refs/heads/development by this push:
     new 951c0510 Update tests without aclocal to expect failure
951c0510 is described below

commit 951c0510a3362c0b4f7b0998abf2c8a32c768309
Author: Ileana Dumitrescu <[email protected]>
AuthorDate: Wed Sep 25 16:12:34 2024 +0300

    Update tests without aclocal to expect failure
    
    Five tests use aclocal, but do not have a check for whether aclocal is
    available to use. This causes reported tests failures in Linux From
    Scratch and Darwin builds.
    
    * tests/standalone.at: Add AT_XFAIL_IF check for aclocal for all tests.
    * tests/subproject.at: Add AT_XFAIL_IF check for aclocal for last test.
---
 NEWS                | 3 +++
 tests/standalone.at | 4 ++++
 tests/subproject.at | 1 +
 3 files changed, 8 insertions(+)

diff --git a/NEWS b/NEWS
index f270563c..ce7a7bc8 100644
--- a/NEWS
+++ b/NEWS
@@ -24,6 +24,9 @@ NEWS - list of user-visible changes between releases of GNU Libtool
 
   - Update FSF office address with URL in each file's license block.
 
+  - Add checks for aclocal in standalone.at and subproject.at test files
+    that report failures in Linux From Scratch and Darwin builds.
+
 
 * Noteworthy changes in release 2.5.2 (2024-08-29) [beta]
 
diff --git a/tests/standalone.at b/tests/standalone.at
index c3d2f00d..2a81a250 100644
--- a/tests/standalone.at
+++ b/tests/standalone.at
@@ -30,6 +30,7 @@ AT_SETUP([compiling softlinked libltdl])
 
 LT_AT_CHECK_LIBTOOLIZE([--ltdl=.], [], [ignore])
 LT_AT_CONFIGURE
+AT_XFAIL_IF([test no = "$ACLOCAL"])
 LT_AT_MAKE([all $tst_dist])
 
 AT_CHECK([test -f libltdlc.la])
@@ -45,6 +46,7 @@ AT_SETUP([compiling copied libltdl])
 
 LT_AT_CHECK_LIBTOOLIZE([--copy --ltdl=.], [], [ignore])
 LT_AT_CONFIGURE
+AT_XFAIL_IF([test no = "$ACLOCAL"])
 LT_AT_MAKE([all $tst_dist])
 
 AT_CHECK([test -f libltdlc.la])
@@ -62,6 +64,7 @@ prefix=`pwd`/_inst
 
 LT_AT_CHECK_LIBTOOLIZE([--copy --ltdl=.], [], [ignore])
 LT_AT_CONFIGURE([--enable-ltdl-install --prefix=$prefix])
+AT_XFAIL_IF([test no = "$ACLOCAL"])
 LT_AT_MAKE([all install $tst_dist])
 
 AT_CHECK([test -f "$prefix/lib/libltdl.la"])
@@ -78,6 +81,7 @@ AT_SETUP([linking libltdl without autotools])
 
 _LTDL_PROJECT_FILES([libltdl])
 LT_AT_CHECK_LIBTOOLIZE([--copy --ltdl], [], [ignore])
+AT_XFAIL_IF([test no = "$ACLOCAL"])
 LT_AT_MAKE([], [CC="$CC" LIBTOOLFLAGS="$LIBTOOLFLAGS" CPPFLAGS="$CPPFLAGS" ]dnl
         [CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ]dnl
 	[CONFIGURE_OPTIONS="$configure_options"])
diff --git a/tests/subproject.at b/tests/subproject.at
index 740897ea..a2f1b261 100644
--- a/tests/subproject.at
+++ b/tests/subproject.at
@@ -108,6 +108,7 @@ AT_SETUP([linking libltdl without autotools])
 
 _LTDL_PROJECT_FILES([sub/ltdl])
 LT_AT_LIBTOOLIZE([--copy --ltdl=sub/ltdl])
+AT_XFAIL_IF([test no = "$ACLOCAL"])
 LT_AT_MAKE([], [CC="$CC" LIBTOOLFLAGS="$LIBTOOLFLAGS" CPPFLAGS="$CPPFLAGS" ]dnl
      [CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" SHELL="$SHELL" MAKE="${MAKE-make}" ]dnl
      [CONFIGURE_OPTIONS="$configure_options"])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.