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.
This commit is contained in:
Ileana Dumitrescu 2024-09-25 16:12:34 +03:00
parent 138cf5b271
commit 3ab1239727
No known key found for this signature in database
GPG Key ID: 6570EA01146F7354
3 changed files with 8 additions and 0 deletions

3
NEWS
View File

@ -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]

View 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"])

View 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"])