diff options
| author | ruki <[email protected]> | 2026-02-15 22:53:12 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-02-15 22:53:12 +0800 |
| commit | a7e81f8efefb7d1a621d4a47bfa5208a761d7af4 (patch) | |
| tree | 31b8bbdb191476a06f985ea3d194c15ebb04114a /tests/projects/c++ | |
| parent | d83d2400d5c28ec5d6655a930aaa4ec913e873ae (diff) | |
improve tests for haiku
Diffstat (limited to 'tests/projects/c++')
| -rw-r--r-- | tests/projects/c++/linkorders/test.lua | 3 | ||||
| -rw-r--r-- | tests/projects/c++/snippet_runtimes/test.lua | 2 |
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 |
