Skip to content

Commit

Permalink
dyld debug
Browse files Browse the repository at this point in the history
  • Loading branch information
szpajder committed Oct 19, 2024
1 parent eaa5461 commit 7e8423b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7e8423b

Please sign in to comment.