From d794bda49c69a252597ab5538972a2b930745ebd Mon Sep 17 00:00:00 2001 From: Ileana Dumitrescu Date: Sat, 11 May 2024 11:19:28 +0300 Subject: [PATCH] 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. --- tests/bug_62343.at | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/bug_62343.at b/tests/bug_62343.at index 385cc413..05839dc4 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; }