]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
demo.at: Skip test if deplibs_check_method is not pass_all
authorIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Tue, 7 Jan 2025 15:07:53 +0000 (17:07 +0200)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Thu, 13 Feb 2025 14:57:05 +0000 (16:57 +0200)
The test 'deplibs_check_method' was designed to verify pass_all
works as expected. Many warnings occur for systems that do not
have deplibs_check_method set to pass_all, so this test is skipped
on those.

* tests/demo.at: Add check for deplibs_check_method=pass_all.

tests/demo.at

index 0fff438a295b50797be84a0380656be30a680204..036e434e70a8b560057193579f8a30b570233b9c 100644 (file)
@@ -434,6 +434,9 @@ AT_CLEANUP
 
 AT_SETUP([deplibs_check_method])
 
+# Skip test if deplibs_check_method is not pass_all
+AT_CHECK([$LIBTOOL --config | $EGREP '^deplibs_check_method="pass_all' || exit 77], [], [ignore], [ignore])
+
 _LT_DEMO_SETUP
 
 AT_DATA([demo.mk],