From 7e8423b175c0dcc6815cba28bd072e03948043f8 Mon Sep 17 00:00:00 2001 From: Tomasz Lemiech Date: Sat, 19 Oct 2024 19:36:31 +0200 Subject: [PATCH] dyld debug --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9d63c5b..3f27337 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,8 +55,8 @@ jobs: - name: Test run run: | - if [[ "$RUNNER_OS" == "macOS" ]]; then echo dumpvdl2 LC_RPATH; otool -l /usr/local/bin/dumpvdl2; echo libacars LC_ID_DYLIB:; otool -l /usr/local/lib/libacars-2.dylib; fi - /usr/local/bin/dumpvdl2 ${VDL2_TEST1} + if [[ "$RUNNER_OS" == "macOS" ]]; then echo dumpvdl2 libraries:; otool -L /usr/local/bin/dumpvdl2; echo libacars install_name:; otool -D /usr/local/lib/libacars-2.dylib; fi + DYLD_PRINT_SEARCHING=1 DYLD_PRINT_LIBRARIES=1 /usr/local/bin/dumpvdl2 ${VDL2_TEST1} res=$(/usr/local/bin/dumpvdl2 ${VDL2_TEST1} | egrep -c "${VDL2_TEST1_EXPECT}") if [[ "x$res" = "x" ]]; then false; fi if [[ $res -eq ${VDL2_TEST1_RESULT} ]]; then true; fi