summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-01-20 23:54:12 +0800
committerruki <[email protected]>2021-01-20 23:54:12 +0800
commit45106175eef0f20f97c2228009db8ffd09a50319 (patch)
tree86556421fa3d55680a70f282341b0d0d49d29006
parent69e30c48dd9f1a916670d5c90935ad40ce26ac8b (diff)
fix tests
-rw-r--r--tests/projects/hybrid/static_library/test.lua6
-rw-r--r--tests/projects/hybrid/static_library/xmake.lua2
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/projects/hybrid/static_library/test.lua b/tests/projects/hybrid/static_library/test.lua
index b76241be2..5cad49b73 100644
--- a/tests/projects/hybrid/static_library/test.lua
+++ b/tests/projects/hybrid/static_library/test.lua
@@ -1,6 +1,6 @@
--- main entry
function main(t)
-
- -- build project
+ if is_host("macosx") and os.arch() == "arm64" then
+ return
+ end
t:build()
end
diff --git a/tests/projects/hybrid/static_library/xmake.lua b/tests/projects/hybrid/static_library/xmake.lua
index 5d0ef1494..bc28df33f 100644
--- a/tests/projects/hybrid/static_library/xmake.lua
+++ b/tests/projects/hybrid/static_library/xmake.lua
@@ -17,7 +17,7 @@ target("demo")
target("demo2")
set_kind("binary")
- add_files("src/main2.cpp", "src/*.d")
+ add_files("src/main2.cpp")
if not is_plat("macosx") then
set_enabled(false)
end