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" {
3232 if (builtin.target.cpu.arch.isLoongArch()) return error.SkipZigTest; // TODO
3333 if (builtin.target.cpu.arch.isMIPS64()) return error.SkipZigTest; // TODO
3434 if (builtin.target.cpu.arch.isPowerPC()) return error.SkipZigTest; // TODO
35 if (builtin.target.cpu.arch.isSparc()) return error.SkipZigTest; // TODO
3536 if (builtin.target.cpu.arch == .s390x) return error.SkipZigTest; // TODO
3637 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: {
10681068 .abi = .none,
10691069 },
10701070 },
1071 // SPARC linking support is currently incomplete.
1072 // .{
1073 // .target = .{
1074 // .cpu_arch = .sparc64,
1075 // .os_tag = .linux,
1076 // .abi = .gnu,
1077 // },
1078 // .link_libc = true,
1079 // },
1071 .{
1072 .target = .{
1073 .cpu_arch = .sparc64,
1074 .os_tag = .linux,
1075 .abi = .gnu,
1076 },
1077 .link_libc = true,
1078 },
10801079
10811080 // Calls are normally lowered to branch instructions that only support +/- 16 MB range when
10821081 // targeting Thumb. This easily becomes insufficient for our test binaries, so use long