From: Ileana Dumitrescu Date: Sat, 11 May 2024 08:19:28 +0000 (+0300) Subject: bug_62343: Skip test if not building libtool libs X-Git-Tag: v2.5.0~5 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d794bda49c69a252597ab5538972a2b930745ebd;p=thirdparty%2Flibtool.git bug_62343: Skip test if not building libtool libs When the configure option "--disable-shared" is used, this test will be skipped since no libtool libs are built. tests/bug_62343.at: Check if build_libtool_libs is set to no. --- diff --git a/tests/bug_62343.at b/tests/bug_62343.at index 385cc413b..05839dc4f 100644 --- a/tests/bug_62343.at +++ b/tests/bug_62343.at @@ -25,6 +25,8 @@ AT_BANNER([Testing bug 62343:]) AT_SETUP([Use -no-canonical-prefixes flag]) +AT_CHECK([$LIBTOOL --config | $EGREP '^build_libtool_libs=no' && (exit 77)], 1) + AT_DATA([x.cpp], [[ void f(int *p) { *p = 21; }