authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-05-18 21:54:07+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-05-19 00:19:50+02:00
log3b330f1d7c36416924f8986a6c541331130297d4
tree53da0763944b77ce468d584b97b69878e3cf4d35
parent3b41518c14cc2d9d9951a5ce3f44ed942502e1a9
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std: disable some failing cancelation tests on sparc64-linux

https://codeberg.org/ziglang/zig/issues/35347

3 files changed, 6 insertions(+), 0 deletions(-)

lib/std/Io/Threaded/test.zig+2
......@@ -149,6 +149,8 @@ test "async with array return type" {
149149}
150150
151151test "cancel blocked read from pipe" {
152 if (builtin.cpu.arch.isSPARC() and builtin.os.tag == .linux) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/35347
153
152154 const global = struct {
153155 fn readFromPipe(io: Io, pipe: Io.File) !void {
154156 var buf: [1]u8 = undefined;
lib/std/Io/net/test.zig+2
......@@ -350,6 +350,8 @@ test "decompress compressed DNS name" {
350350}
351351
352352test "cancel accept" {
353 if (builtin.cpu.arch.isSPARC() and builtin.os.tag == .linux) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/35347
354
353355 const io = testing.io;
354356 const localhost: net.IpAddress = .{ .ip4 = .loopback(0) };
355357
lib/std/Io/test.zig+2
......@@ -324,6 +324,8 @@ test "Group materializes error.Cancel" {
324324}
325325
326326test "Group task receives cancelation unknowingly" {
327 if (builtin.cpu.arch.isSPARC() and builtin.os.tag == .linux) return error.SkipZigTest; // https://codeberg.org/ziglang/zig/issues/35347
328
327329 const S = struct {
328330 io: Io,
329331 err: ?Io.Cancelable!void,