summaryrefslogtreecommitdiff
path: root/tests/projects/c++
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-24 22:59:57 +0800
committerruki <[email protected]>2025-11-24 22:59:57 +0800
commitc2bbd0dd3b705de1906ba313e82a4ebf02242015 (patch)
treeaa8bc3e0ba5bb4481a231287465c153dc3785fd8 /tests/projects/c++
parent6effc61ddb1760190daae118dbe5b8534157ef19 (diff)
disable some tests on solaris
Diffstat (limited to 'tests/projects/c++')
-rw-r--r--tests/projects/c++/linkorders/test.lua2
-rw-r--r--tests/projects/c++/snippet_runtimes/test.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/c++/linkorders/test.lua b/tests/projects/c++/linkorders/test.lua
index 704959e28..39898ef97 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") then
+ if is_host("bsd", "solaris") then
return
end
diff --git a/tests/projects/c++/snippet_runtimes/test.lua b/tests/projects/c++/snippet_runtimes/test.lua
index 9f7e59b3b..e06f405f7 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") then
+ if clang and not is_subhost("windows") and not is_subhost("bsd", "solaris") then
os.exec("xmake f --toolchain=clang --runtimes=c++_shared --yes")
_build()
end