mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
stage2: disable some tests on x86_64-macos
This commit is contained in:
parent
f1d2141849
commit
c689df1215
@ -194,6 +194,8 @@ test "multiline string comments at multiple places" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test "string concatenation" {
|
test "string concatenation" {
|
||||||
|
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
|
||||||
|
|
||||||
try expect(mem.eql(u8, "OK" ++ " IT " ++ "WORKED", "OK IT WORKED"));
|
try expect(mem.eql(u8, "OK" ++ " IT " ++ "WORKED", "OK IT WORKED"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -395,6 +397,7 @@ fn testTakeAddressOfParameter(f: f32) !void {
|
|||||||
|
|
||||||
test "pointer to void return type" {
|
test "pointer to void return type" {
|
||||||
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
|
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
|
||||||
|
if (builtin.zig_backend == .stage2_x86_64 and builtin.os.tag == .macos) return error.SkipZigTest;
|
||||||
|
|
||||||
try testPointerToVoidReturnType();
|
try testPointerToVoidReturnType();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user