diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-07-09 17:35:14 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-07-09 17:35:14 -0700 |
| commit | f9bf4889264aee387639bb8a35fdf594236b1283 (patch) | |
| tree | bde1a63069820223ca014b40d701f4e5a597ec20 /lib/std | |
| parent | 31281a7d14a843f25156a731dd2108a7018680ad (diff) | |
| download | zig-f9bf4889264aee387639bb8a35fdf594236b1283.tar.gz zig-f9bf4889264aee387639bb8a35fdf594236b1283.zip | |
two more regressed test cases; same cause as last two commits
Diffstat (limited to 'lib/std')
| -rw-r--r-- | lib/std/fmt.zig | 4 | ||||
| -rw-r--r-- | lib/std/math.zig | 8 |
2 files changed, 5 insertions, 7 deletions
diff --git a/lib/std/fmt.zig b/lib/std/fmt.zig index 45452bb61f..90e70a7c41 100644 --- a/lib/std/fmt.zig +++ b/lib/std/fmt.zig @@ -2311,6 +2311,10 @@ test "float.decimal" { } test "float.libc.sanity" { + if (builtin.zig_backend == .stage1 and builtin.os.tag == .windows) { + // https://github.com/ziglang/zig/issues/12063 + return error.SkipZigTest; + } try expectFmt("f64: 0.00001", "f64: {d:.5}", .{@as(f64, @bitCast(f32, @as(u32, 916964781)))}); try expectFmt("f64: 0.00001", "f64: {d:.5}", .{@as(f64, @bitCast(f32, @as(u32, 925353389)))}); try expectFmt("f64: 0.10000", "f64: {d:.5}", .{@as(f64, @bitCast(f32, @as(u32, 1036831278)))}); diff --git a/lib/std/math.zig b/lib/std/math.zig index c249ae04e8..0487ef2d3c 100644 --- a/lib/std/math.zig +++ b/lib/std/math.zig @@ -1647,13 +1647,7 @@ fn testSign() !void { } test "sign" { - if ((builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) and - builtin.cpu.arch == .aarch64) - { - // https://github.com/ziglang/zig/issues/12012 - return error.SkipZigTest; - } - if ((builtin.zig_backend == .stage1) and builtin.cpu.arch == .x86_64) { + if (builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) { // https://github.com/ziglang/zig/issues/12012 return error.SkipZigTest; } |
