From 27304c6a862610980cbd0c4f9c30c6a349bb26a9 Mon Sep 17 00:00:00 2001 From: Samuel Gomes Date: Sun, 15 Sep 2024 03:09:19 +0530 Subject: [PATCH] Use llvm-objdump instead of windres for resource section verification --- tests/dist_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/dist_tests.sh b/tests/dist_tests.sh index b6d4f5975..d7b4a28ef 100755 --- a/tests/dist_tests.sh +++ b/tests/dist_tests.sh @@ -25,7 +25,7 @@ case "$2" in win) # Verify that the Resource information was correctly applied # windres returns an error if the exe has no resource section - windresResult=$($ROOT/internal/c/c_compiler/bin/windres.exe -i ./qb64pe.exe) + windresResult=$($ROOT/internal/c/c_compiler/bin/llvm-objdump -s -j .rsrc ./qb64pe.exe) assert_success_named "Windows Resource Section" printf "\n$windresResult\n" ;;