From 84061455bdc813d3072afa8a998c8d049840b748 Mon Sep 17 00:00:00 2001 From: Akaps316 <48785708+Akaps316@users.noreply.github.com> Date: Sun, 5 Apr 2026 10:27:42 +0530 Subject: fix(test): move import to top of test.lua per review comment Co-authored-by: Qwen-Coder --- tests/projects/objc/iosapp_framework_rpath/test.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/projects/objc/iosapp_framework_rpath/test.lua') diff --git a/tests/projects/objc/iosapp_framework_rpath/test.lua b/tests/projects/objc/iosapp_framework_rpath/test.lua index 41e770e68..efc69dbea 100644 --- a/tests/projects/objc/iosapp_framework_rpath/test.lua +++ b/tests/projects/objc/iosapp_framework_rpath/test.lua @@ -1,3 +1,5 @@ +import("utils.binary.rpath") + function main(t) if not is_host("macosx") then return t:skip("wrong host platform") @@ -5,8 +7,6 @@ function main(t) os.execv("xmake", {"f", "-p", "iphoneos", "-a", "arm64", "--appledev=simulator", "-c"}) os.execv("xmake", {"-vD"}) - - import("utils.binary.rpath") local appfile = "build/iphoneos/arm64/release/demo.app/demo" local rpaths = rpath.list(appfile) local found_ios = false -- cgit v1.3.1