branch: master commit d794bda49c69a252597ab5538972a2b930745ebd Author: Ileana Dumitrescu <ileanadumitresc...@gmail.com> AuthorDate: Sat May 11 11:19:28 2024 +0300
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; }