summaryrefslogtreecommitdiff
path: root/tests/projects/c++
diff options
context:
space:
mode:
authorruki <[email protected]>2026-02-15 22:53:12 +0800
committerruki <[email protected]>2026-02-15 22:53:12 +0800
commita7e81f8efefb7d1a621d4a47bfa5208a761d7af4 (patch)
tree31b8bbdb191476a06f985ea3d194c15ebb04114a /tests/projects/c++
parentd83d2400d5c28ec5d6655a930aaa4ec913e873ae (diff)
improve tests for haiku
Diffstat (limited to 'tests/projects/c++')
-rw-r--r--tests/projects/c++/linkorders/test.lua3
-rw-r--r--tests/projects/c++/snippet_runtimes/test.lua2
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/projects/c++/linkorders/test.lua b/tests/projects/c++/linkorders/test.lua
index 39898ef97..7728aa73a 100644
--- a/tests/projects/c++/linkorders/test.lua
+++ b/tests/projects/c++/linkorders/test.lua
@@ -1,7 +1,7 @@
function main(t)
-- freebsd ci is slower
- if is_host("bsd", "solaris") then
+ if is_host("bsd", "solaris", "haiku") then
return
end
@@ -10,4 +10,3 @@ function main(t)
t:build()
end
end
-
diff --git a/tests/projects/c++/snippet_runtimes/test.lua b/tests/projects/c++/snippet_runtimes/test.lua
index e06f405f7..c20ec10ff 100644
--- a/tests/projects/c++/snippet_runtimes/test.lua
+++ b/tests/projects/c++/snippet_runtimes/test.lua
@@ -12,7 +12,7 @@ end
function main(t)
local clang = find_tool("clang")
- if clang and not is_subhost("windows") and not is_subhost("bsd", "solaris") then
+ if clang and not is_subhost("windows") and not is_subhost("bsd", "solaris", "haiku") then
os.exec("xmake f --toolchain=clang --runtimes=c++_shared --yes")
_build()
end