From a09c1d91ede780beff8a196f16f34f8d7a3224c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Mon, 28 Apr 2025 12:01:46 +0200 Subject: [PATCH] test: Disable some varargs behavior tests on sparc. https://github.com/ziglang/zig/issues/23718 --- test/behavior/var_args.zig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/behavior/var_args.zig b/test/behavior/var_args.zig index a2aa154c72..19cb5c0ba5 100644 --- a/test/behavior/var_args.zig +++ b/test/behavior/var_args.zig @@ -106,6 +106,7 @@ test "simple variadic function" { } if (builtin.cpu.arch == .x86_64 and builtin.os.tag == .windows) return error.SkipZigTest; // TODO if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350 + if (builtin.cpu.arch.isSPARC() and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23718 const S = struct { fn simple(...) callconv(.c) c_int { @@ -200,6 +201,7 @@ test "variadic functions" { } if (builtin.cpu.arch == .x86_64 and builtin.os.tag == .windows) return error.SkipZigTest; // TODO if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350 + if (builtin.cpu.arch.isSPARC() and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23718 const S = struct { fn printf(list_ptr: *std.ArrayList(u8), format: [*:0]const u8, ...) callconv(.c) void { @@ -245,6 +247,7 @@ test "copy VaList" { } if (builtin.cpu.arch == .x86_64 and builtin.os.tag == .windows) return error.SkipZigTest; // TODO if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350 + if (builtin.cpu.arch.isSPARC() and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23718 const S = struct { fn add(count: c_int, ...) callconv(.c) c_int { @@ -282,6 +285,7 @@ test "unused VaList arg" { return error.SkipZigTest; // TODO } if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350 + if (builtin.cpu.arch.isSPARC() and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23718 const S = struct { fn thirdArg(dummy: c_int, ...) callconv(.c) c_int {