aboutsummaryrefslogtreecommitdiff
path: root/test/tests.zig
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2025-05-29 16:26:34 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2025-05-29 16:48:28 +0200
commitaeebb131c858751a2585da4ad92beb76ae7925f1 (patch)
tree59f5eafcd515d5b666089e9ffe1bc749124d2b5a /test/tests.zig
parent9d8acf973ef8713894bbe5171a431a089c1369f5 (diff)
downloadzig-aeebb131c858751a2585da4ad92beb76ae7925f1.tar.gz
zig-aeebb131c858751a2585da4ad92beb76ae7925f1.zip
test: Add NetBSD targets to module test matrix.
Diffstat (limited to 'test/tests.zig')
-rw-r--r--test/tests.zig207
1 files changed, 207 insertions, 0 deletions
diff --git a/test/tests.zig b/test/tests.zig
index 4465c13612..03fb566f0b 100644
--- a/test/tests.zig
+++ b/test/tests.zig
@@ -1232,6 +1232,213 @@ const test_targets = blk: {
},
},
+ // NetBSD Targets
+
+ .{
+ .target = .{
+ .cpu_arch = .aarch64,
+ .os_tag = .netbsd,
+ // Remove this when we bump our baseline to 10.1.0.
+ .os_version_min = .{ .semver = .{
+ .major = 10,
+ .minor = 1,
+ .patch = 0,
+ } },
+ .abi = .none,
+ },
+ .link_libc = true,
+ },
+
+ .{
+ .target = .{
+ .cpu_arch = .aarch64_be,
+ .os_tag = .netbsd,
+ // Remove this when we bump our baseline to 10.1.0.
+ .os_version_min = .{ .semver = .{
+ .major = 10,
+ .minor = 1,
+ .patch = 0,
+ } },
+ .abi = .none,
+ },
+ .link_libc = true,
+ },
+
+ .{
+ .target = .{
+ .cpu_arch = .arm,
+ .os_tag = .netbsd,
+ // Remove this when we bump our baseline to 10.1.0.
+ .os_version_min = .{ .semver = .{
+ .major = 10,
+ .minor = 1,
+ .patch = 0,
+ } },
+ .abi = .eabi,
+ },
+ .link_libc = true,
+ },
+ .{
+ .target = .{
+ .cpu_arch = .arm,
+ .os_tag = .netbsd,
+ // Remove this when we bump our baseline to 10.1.0.
+ .os_version_min = .{ .semver = .{
+ .major = 10,
+ .minor = 1,
+ .patch = 0,
+ } },
+ .abi = .eabihf,
+ },
+ .link_libc = true,
+ },
+
+ .{
+ .target = .{
+ .cpu_arch = .armeb,
+ .os_tag = .netbsd,
+ // Remove this when we bump our baseline to 10.1.0.
+ .os_version_min = .{ .semver = .{
+ .major = 10,
+ .minor = 1,
+ .patch = 0,
+ } },
+ .abi = .eabi,
+ },
+ .link_libc = true,
+ },
+ .{
+ .target = .{
+ .cpu_arch = .armeb,
+ .os_tag = .netbsd,
+ // Remove this when we bump our baseline to 10.1.0.
+ .os_version_min = .{ .semver = .{
+ .major = 10,
+ .minor = 1,
+ .patch = 0,
+ } },
+ .abi = .eabihf,
+ },
+ .link_libc = true,
+ },
+
+ .{
+ .target = .{
+ .cpu_arch = .mips,
+ .os_tag = .netbsd,
+ // Remove this when we bump our baseline to 10.1.0.
+ .os_version_min = .{ .semver = .{
+ .major = 10,
+ .minor = 1,
+ .patch = 0,
+ } },
+ .abi = .eabi,
+ },
+ .link_libc = true,
+ },
+ .{
+ .target = .{
+ .cpu_arch = .mips,
+ .os_tag = .netbsd,
+ // Remove this when we bump our baseline to 10.1.0.
+ .os_version_min = .{ .semver = .{
+ .major = 10,
+ .minor = 1,
+ .patch = 0,
+ } },
+ .abi = .eabihf,
+ },
+ .link_libc = true,
+ },
+
+ .{
+ .target = .{
+ .cpu_arch = .mipsel,
+ .os_tag = .netbsd,
+ // Remove this when we bump our baseline to 10.1.0.
+ .os_version_min = .{ .semver = .{
+ .major = 10,
+ .minor = 1,
+ .patch = 0,
+ } },
+ .abi = .eabi,
+ },
+ .link_libc = true,
+ },
+ .{
+ .target = .{
+ .cpu_arch = .mipsel,
+ .os_tag = .netbsd,
+ // Remove this when we bump our baseline to 10.1.0.
+ .os_version_min = .{ .semver = .{
+ .major = 10,
+ .minor = 1,
+ .patch = 0,
+ } },
+ .abi = .eabihf,
+ },
+ .link_libc = true,
+ },
+
+ .{
+ .target = .{
+ .cpu_arch = .powerpc,
+ .os_tag = .netbsd,
+ // Remove this when we bump our baseline to 10.1.0.
+ .os_version_min = .{ .semver = .{
+ .major = 10,
+ .minor = 1,
+ .patch = 0,
+ } },
+ .abi = .eabi,
+ },
+ .link_libc = true,
+ },
+ .{
+ .target = .{
+ .cpu_arch = .powerpc,
+ .os_tag = .netbsd,
+ // Remove this when we bump our baseline to 10.1.0.
+ .os_version_min = .{ .semver = .{
+ .major = 10,
+ .minor = 1,
+ .patch = 0,
+ } },
+ .abi = .eabihf,
+ },
+ .link_libc = true,
+ },
+
+ .{
+ .target = .{
+ .cpu_arch = .x86,
+ .os_tag = .netbsd,
+ // Remove this when we bump our baseline to 10.1.0.
+ .os_version_min = .{ .semver = .{
+ .major = 10,
+ .minor = 1,
+ .patch = 0,
+ } },
+ .abi = .none,
+ },
+ .link_libc = true,
+ },
+
+ .{
+ .target = .{
+ .cpu_arch = .x86_64,
+ .os_tag = .netbsd,
+ // Remove this when we bump our baseline to 10.1.0.
+ .os_version_min = .{ .semver = .{
+ .major = 10,
+ .minor = 1,
+ .patch = 0,
+ } },
+ .abi = .none,
+ },
+ .link_libc = true,
+ },
+
// SPIR-V Targets
.{