Skip to content

Commit f9bf488

Browse files
committed
two more regressed test cases; same cause as last two commits
1 parent 31281a7 commit f9bf488

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

lib/std/fmt.zig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2311,6 +2311,10 @@ test "float.decimal" {
23112311
}
23122312

23132313
test "float.libc.sanity" {
2314+
if (builtin.zig_backend == .stage1 and builtin.os.tag == .windows) {
2315+
// https://github.com/ziglang/zig/issues/12063
2316+
return error.SkipZigTest;
2317+
}
23142318
try expectFmt("f64: 0.00001", "f64: {d:.5}", .{@as(f64, @bitCast(f32, @as(u32, 916964781)))});
23152319
try expectFmt("f64: 0.00001", "f64: {d:.5}", .{@as(f64, @bitCast(f32, @as(u32, 925353389)))});
23162320
try expectFmt("f64: 0.10000", "f64: {d:.5}", .{@as(f64, @bitCast(f32, @as(u32, 1036831278)))});

lib/std/math.zig

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1647,13 +1647,7 @@ fn testSign() !void {
16471647
}
16481648

16491649
test "sign" {
1650-
if ((builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) and
1651-
builtin.cpu.arch == .aarch64)
1652-
{
1653-
// https://github.com/ziglang/zig/issues/12012
1654-
return error.SkipZigTest;
1655-
}
1656-
if ((builtin.zig_backend == .stage1) and builtin.cpu.arch == .x86_64) {
1650+
if (builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) {
16571651
// https://github.com/ziglang/zig/issues/12012
16581652
return error.SkipZigTest;
16591653
}

0 commit comments

Comments
 (0)