behavior: fix test disable condition

This commit is contained in:
Jacob Young 2023-04-18 21:25:13 -04:00 committed by mlugg
parent 06992e159b
commit 52fe2ebee8
No known key found for this signature in database
GPG Key ID: 58978E823BDE3EF9

View File

@ -217,9 +217,15 @@ test "copy VaList" {
}
test "unused VaList arg" {
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.cpu.arch == .aarch64 and builtin.os.tag != .macos) {
// https://github.com/ziglang/zig/issues/14096
return error.SkipZigTest;
}
if (builtin.cpu.arch == .x86_64 and builtin.os.tag == .windows) return error.SkipZigTest; // TODO
const S = struct {
fn thirdArg(dummy: c_int, ...) callconv(.C) c_int {