authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-09-23 13:06:52+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-09-23 13:08:56+02:00
log0d20454691fd0492daaae9984f440129dfe6307b
treea8af653d4fd9c0015e452d8e8c9b903e0a3f52c7
parentdbc746633cf12d1c798ec5874e591958d763b6a0
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: enable sparc64-linux-gnu module tests


2 files changed, 9 insertions(+), 9 deletions(-)

test/c/stdlib.zig+1
...@@ -32,6 +32,7 @@ test "div" {...@@ -32,6 +32,7 @@ test "div" {
32 if (builtin.target.cpu.arch.isLoongArch()) return error.SkipZigTest; // TODO32 if (builtin.target.cpu.arch.isLoongArch()) return error.SkipZigTest; // TODO
33 if (builtin.target.cpu.arch.isMIPS64()) return error.SkipZigTest; // TODO33 if (builtin.target.cpu.arch.isMIPS64()) return error.SkipZigTest; // TODO
34 if (builtin.target.cpu.arch.isPowerPC()) return error.SkipZigTest; // TODO34 if (builtin.target.cpu.arch.isPowerPC()) return error.SkipZigTest; // TODO
35 if (builtin.target.cpu.arch.isSparc()) return error.SkipZigTest; // TODO
35 if (builtin.target.cpu.arch == .s390x) return error.SkipZigTest; // TODO36 if (builtin.target.cpu.arch == .s390x) return error.SkipZigTest; // TODO
36 if (builtin.target.cpu.arch == .x86 and builtin.target.os.tag == .windows) return error.SkipZigTest; // TODO37 if (builtin.target.cpu.arch == .x86 and builtin.target.os.tag == .windows) return error.SkipZigTest; // TODO
3738
test/tests.zig+8-9
...@@ -1068,15 +1068,14 @@ const module_test_targets = blk: {...@@ -1068,15 +1068,14 @@ const module_test_targets = blk: {
1068 .abi = .none,1068 .abi = .none,
1069 },1069 },
1070 },1070 },
1071 // SPARC linking support is currently incomplete.1071 .{
1072 // .{1072 .target = .{
1073 // .target = .{1073 .cpu_arch = .sparc64,
1074 // .cpu_arch = .sparc64,1074 .os_tag = .linux,
1075 // .os_tag = .linux,1075 .abi = .gnu,
1076 // .abi = .gnu,1076 },
1077 // },1077 .link_libc = true,
1078 // .link_libc = true,1078 },
1079 // },
10801079
1081 // Calls are normally lowered to branch instructions that only support +/- 16 MB range when1080 // Calls are normally lowered to branch instructions that only support +/- 16 MB range when
1082 // targeting Thumb. This easily becomes insufficient for our test binaries, so use long1081 // targeting Thumb. This easily becomes insufficient for our test binaries, so use long