branch: development
commit 723924e9f3f04fd0cea3b919a97dc7fcbdde2710
Author: Ileana Dumitrescu <ileanadumitresc...@gmail.com>
AuthorDate: Tue Jan 7 17:07:53 2025 +0200

    demo.at: Skip test if deplibs_check_method is not pass_all
    
    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 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/demo.at b/tests/demo.at
index 0fff438a..036e434e 100644
--- a/tests/demo.at
+++ b/tests/demo.at
@@ -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],

Reply via email to