authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-04-28 12:01:46+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-04-28 12:05:19+02:00
logfd4fcefe8aee5a8587b27e41de409a14e2c1dacc
treeea0006eae1b90a9ad7c3548a31ebf59249744d97
parentd7e8337909fcf64360568c1f031240a1f9088dee
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: Disable some varargs behavior tests on sparc.

https://github.com/ziglang/zig/issues/23718

1 files changed, 4 insertions(+), 0 deletions(-)

test/behavior/var_args.zig+4
...@@ -106,6 +106,7 @@ test "simple variadic function" {...@@ -106,6 +106,7 @@ test "simple variadic function" {
106 }106 }
107 if (builtin.cpu.arch == .x86_64 and builtin.os.tag == .windows) return error.SkipZigTest; // TODO107 if (builtin.cpu.arch == .x86_64 and builtin.os.tag == .windows) return error.SkipZigTest; // TODO
108 if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350108 if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350
109 if (builtin.cpu.arch.isSPARC() and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23718
109110
110 const S = struct {111 const S = struct {
111 fn simple(...) callconv(.c) c_int {112 fn simple(...) callconv(.c) c_int {
...@@ -200,6 +201,7 @@ test "variadic functions" {...@@ -200,6 +201,7 @@ test "variadic functions" {
200 }201 }
201 if (builtin.cpu.arch == .x86_64 and builtin.os.tag == .windows) return error.SkipZigTest; // TODO202 if (builtin.cpu.arch == .x86_64 and builtin.os.tag == .windows) return error.SkipZigTest; // TODO
202 if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350203 if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350
204 if (builtin.cpu.arch.isSPARC() and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23718
203205
204 const S = struct {206 const S = struct {
205 fn printf(list_ptr: *std.ArrayList(u8), format: [*:0]const u8, ...) callconv(.c) void {207 fn printf(list_ptr: *std.ArrayList(u8), format: [*:0]const u8, ...) callconv(.c) void {
...@@ -245,6 +247,7 @@ test "copy VaList" {...@@ -245,6 +247,7 @@ test "copy VaList" {
245 }247 }
246 if (builtin.cpu.arch == .x86_64 and builtin.os.tag == .windows) return error.SkipZigTest; // TODO248 if (builtin.cpu.arch == .x86_64 and builtin.os.tag == .windows) return error.SkipZigTest; // TODO
247 if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350249 if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350
250 if (builtin.cpu.arch.isSPARC() and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23718
248251
249 const S = struct {252 const S = struct {
250 fn add(count: c_int, ...) callconv(.c) c_int {253 fn add(count: c_int, ...) callconv(.c) c_int {
...@@ -282,6 +285,7 @@ test "unused VaList arg" {...@@ -282,6 +285,7 @@ test "unused VaList arg" {
282 return error.SkipZigTest; // TODO285 return error.SkipZigTest; // TODO
283 }286 }
284 if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350287 if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21350
288 if (builtin.cpu.arch.isSPARC() and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23718
285289
286 const S = struct {290 const S = struct {
287 fn thirdArg(dummy: c_int, ...) callconv(.c) c_int {291 fn thirdArg(dummy: c_int, ...) callconv(.c) c_int {