summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-02-15 22:53:12 +0800
committerSaikari <[email protected]>2026-02-20 16:31:35 +0300
commit175e26d2075347587a623f64e87f9f5dc7473157 (patch)
treeb2c4f0373c993ddb7e4c2907b4f10ca94c1e681a
parent373932b3d1064f5968b286ae9d764d60b008edf6 (diff)
improve tests for haiku
-rw-r--r--tests/actions/package/localpkg/test.lua2
-rw-r--r--tests/apis/namespace/package/test.lua2
-rw-r--r--tests/projects/c++/linkorders/test.lua3
-rw-r--r--tests/projects/c++/snippet_runtimes/test.lua2
-rw-r--r--tests/projects/c/library_with_cmakelists/test.lua2
-rw-r--r--tests/projects/package/basic/test.lua2
-rw-r--r--tests/projects/package/compatibility/deps_with_version/test.lua2
-rw-r--r--tests/projects/package/compatibility/sync_requires_to_deps/test.lua2
-rw-r--r--tests/projects/package/components/test.lua2
-rw-r--r--tests/projects/package/depconfigs/test.lua2
-rw-r--r--tests/projects/package/inherit_base/test.lua2
-rw-r--r--tests/projects/package/multiconfig/test.lua2
-rw-r--r--tests/projects/package/package_rule/test.lua2
-rw-r--r--tests/projects/package/requires_lock/test.lua2
-rw-r--r--tests/projects/package/rootconfigs/test.lua2
-rw-r--r--tests/projects/package/schemes/test.lua2
-rw-r--r--tests/projects/package/toolchain_muslcc/test.lua2
-rw-r--r--tests/projects/package/toolchain_muslcc/xmake.lua2
18 files changed, 18 insertions, 19 deletions
diff --git a/tests/actions/package/localpkg/test.lua b/tests/actions/package/localpkg/test.lua
index b3b3106ff..cd8e6f75e 100644
--- a/tests/actions/package/localpkg/test.lua
+++ b/tests/actions/package/localpkg/test.lua
@@ -1,5 +1,5 @@
function main(t)
- if (os.subarch():startswith("x") or os.subarch() == "i386") and not is_host("bsd", "solaris") then
+ if (os.subarch():startswith("x") or os.subarch() == "i386") and not is_host("bsd", "solaris", "haiku") then
os.cd("libfoo")
os.exec("xmake package -D -o ../bar/build")
os.cd("../bar")
diff --git a/tests/apis/namespace/package/test.lua b/tests/apis/namespace/package/test.lua
index 7b7dabeff..dc9b6d9ab 100644
--- a/tests/apis/namespace/package/test.lua
+++ b/tests/apis/namespace/package/test.lua
@@ -1,5 +1,5 @@
function main()
- if is_host("bsd", "solaris") then
+ if is_host("bsd", "solaris", "haiku") then
return
end
os.exec("xmake -vD -y")
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
diff --git a/tests/projects/c/library_with_cmakelists/test.lua b/tests/projects/c/library_with_cmakelists/test.lua
index 53b02d24c..585571628 100644
--- a/tests/projects/c/library_with_cmakelists/test.lua
+++ b/tests/projects/c/library_with_cmakelists/test.lua
@@ -2,7 +2,7 @@
function main(t)
-- freebsd ci is slower
- if is_host("bsd", "solaris") then
+ if is_host("bsd", "solaris", "haiku") then
return
end
diff --git a/tests/projects/package/basic/test.lua b/tests/projects/package/basic/test.lua
index 65d2f2335..7728aa73a 100644
--- a/tests/projects/package/basic/test.lua
+++ b/tests/projects/package/basic/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
diff --git a/tests/projects/package/compatibility/deps_with_version/test.lua b/tests/projects/package/compatibility/deps_with_version/test.lua
index b9f43bad5..f8321b2f7 100644
--- a/tests/projects/package/compatibility/deps_with_version/test.lua
+++ b/tests/projects/package/compatibility/deps_with_version/test.lua
@@ -1,6 +1,6 @@
function main(t)
-- freebsd ci is slower
- if is_host("bsd", "solaris") then
+ if is_host("bsd", "solaris", "haiku") then
return
end
-- only for x86/x64, because it will take too long time on ci with arm/mips
diff --git a/tests/projects/package/compatibility/sync_requires_to_deps/test.lua b/tests/projects/package/compatibility/sync_requires_to_deps/test.lua
index b9f43bad5..f8321b2f7 100644
--- a/tests/projects/package/compatibility/sync_requires_to_deps/test.lua
+++ b/tests/projects/package/compatibility/sync_requires_to_deps/test.lua
@@ -1,6 +1,6 @@
function main(t)
-- freebsd ci is slower
- if is_host("bsd", "solaris") then
+ if is_host("bsd", "solaris", "haiku") then
return
end
-- only for x86/x64, because it will take too long time on ci with arm/mips
diff --git a/tests/projects/package/components/test.lua b/tests/projects/package/components/test.lua
index a7e71bb89..f1634e485 100644
--- a/tests/projects/package/components/test.lua
+++ b/tests/projects/package/components/test.lua
@@ -1,5 +1,5 @@
function main(t)
- if is_host("bsd", "solaris") or is_subhost("msys") then
+ if is_host("bsd", "solaris", "haiku") or is_subhost("msys") then
return
end
if is_host("linux") and linuxos.name() == "alpine" then
diff --git a/tests/projects/package/depconfigs/test.lua b/tests/projects/package/depconfigs/test.lua
index b9f43bad5..f8321b2f7 100644
--- a/tests/projects/package/depconfigs/test.lua
+++ b/tests/projects/package/depconfigs/test.lua
@@ -1,6 +1,6 @@
function main(t)
-- freebsd ci is slower
- if is_host("bsd", "solaris") then
+ if is_host("bsd", "solaris", "haiku") then
return
end
-- only for x86/x64, because it will take too long time on ci with arm/mips
diff --git a/tests/projects/package/inherit_base/test.lua b/tests/projects/package/inherit_base/test.lua
index b9f43bad5..f8321b2f7 100644
--- a/tests/projects/package/inherit_base/test.lua
+++ b/tests/projects/package/inherit_base/test.lua
@@ -1,6 +1,6 @@
function main(t)
-- freebsd ci is slower
- if is_host("bsd", "solaris") then
+ if is_host("bsd", "solaris", "haiku") then
return
end
-- only for x86/x64, because it will take too long time on ci with arm/mips
diff --git a/tests/projects/package/multiconfig/test.lua b/tests/projects/package/multiconfig/test.lua
index b9f43bad5..f8321b2f7 100644
--- a/tests/projects/package/multiconfig/test.lua
+++ b/tests/projects/package/multiconfig/test.lua
@@ -1,6 +1,6 @@
function main(t)
-- freebsd ci is slower
- if is_host("bsd", "solaris") then
+ if is_host("bsd", "solaris", "haiku") then
return
end
-- only for x86/x64, because it will take too long time on ci with arm/mips
diff --git a/tests/projects/package/package_rule/test.lua b/tests/projects/package/package_rule/test.lua
index 65d2f2335..7728aa73a 100644
--- a/tests/projects/package/package_rule/test.lua
+++ b/tests/projects/package/package_rule/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
diff --git a/tests/projects/package/requires_lock/test.lua b/tests/projects/package/requires_lock/test.lua
index 213b1ba60..40c0ebf98 100644
--- a/tests/projects/package/requires_lock/test.lua
+++ b/tests/projects/package/requires_lock/test.lua
@@ -172,7 +172,7 @@ end
function main(t)
-- freebsd ci is slower
- if is_host("bsd", "solaris") then
+ if is_host("bsd", "solaris", "haiku") then
return
end
diff --git a/tests/projects/package/rootconfigs/test.lua b/tests/projects/package/rootconfigs/test.lua
index d98f3385f..ed5c87486 100644
--- a/tests/projects/package/rootconfigs/test.lua
+++ b/tests/projects/package/rootconfigs/test.lua
@@ -1,6 +1,6 @@
function main(t)
-- freebsd ci is slower
- if is_host("bsd", "solaris") then
+ if is_host("bsd", "solaris", "haiku") then
return
end
-- only for x86/x64, because it will take too long time on ci with arm/mips
diff --git a/tests/projects/package/schemes/test.lua b/tests/projects/package/schemes/test.lua
index 4c7bad3c2..0c31b696f 100644
--- a/tests/projects/package/schemes/test.lua
+++ b/tests/projects/package/schemes/test.lua
@@ -1,6 +1,6 @@
function main(t)
-- freebsd ci is slower
- if is_host("bsd", "solaris") then
+ if is_host("bsd", "solaris", "haiku") then
return
end
diff --git a/tests/projects/package/toolchain_muslcc/test.lua b/tests/projects/package/toolchain_muslcc/test.lua
index 65d2f2335..7728aa73a 100644
--- a/tests/projects/package/toolchain_muslcc/test.lua
+++ b/tests/projects/package/toolchain_muslcc/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
diff --git a/tests/projects/package/toolchain_muslcc/xmake.lua b/tests/projects/package/toolchain_muslcc/xmake.lua
index 6c5e8f8b3..0f63fb0d6 100644
--- a/tests/projects/package/toolchain_muslcc/xmake.lua
+++ b/tests/projects/package/toolchain_muslcc/xmake.lua
@@ -25,7 +25,7 @@ toolchain_end()
-- add library packages
-- for testing zlib/xmake, libplist/autoconf, libogg/cmake
add_requires("zlib", "libogg", {system = false})
-if is_host("macosx", "linux", "bsd", "solaris") then
+if is_host("macosx", "linux", "bsd", "solaris", "haiku") then
add_requires("libplist", {system = false})
end