]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Update tests without aclocal to expect failure
authorIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Wed, 25 Sep 2024 13:12:34 +0000 (16:12 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Wed, 25 Sep 2024 13:34:50 +0000 (16:34 +0300)
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
tests/standalone.at
tests/subproject.at

diff --git a/NEWS b/NEWS
index f270563c1e109ea3b1d4c9d15eca89f534dda214..ce7a7bc89976f3133ec90130f1ba305ead7cec84 100644 (file)
--- 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]
 
index c3d2f00d35f0a1ec7b2a776e80cb1ffe150b0476..2a81a250d29a231497e3cbad111ffbe96a13d01b 100644 (file)
@@ -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"])
index 740897ea9181c4d2cbcca2def2b3233aa4d39c88..a2f1b2612d7f251e26442eeb77b78d1fe6fb8c08 100644 (file)
@@ -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"])