mirror of
https://github.com/ziglang/zig.git
synced 2025-12-15 18:53:07 +00:00
two more regressed test cases; same cause as last two commits
This commit is contained in:
parent
31281a7d14
commit
f9bf488926
@ -2311,6 +2311,10 @@ test "float.decimal" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test "float.libc.sanity" {
|
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, 916964781)))});
|
||||||
try expectFmt("f64: 0.00001", "f64: {d:.5}", .{@as(f64, @bitCast(f32, @as(u32, 925353389)))});
|
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)))});
|
try expectFmt("f64: 0.10000", "f64: {d:.5}", .{@as(f64, @bitCast(f32, @as(u32, 1036831278)))});
|
||||||
|
|||||||
@ -1647,13 +1647,7 @@ fn testSign() !void {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test "sign" {
|
test "sign" {
|
||||||
if ((builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) and
|
if (builtin.zig_backend == .stage1 or builtin.zig_backend == .stage2_llvm) {
|
||||||
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) {
|
|
||||||
// https://github.com/ziglang/zig/issues/12012
|
// https://github.com/ziglang/zig/issues/12012
|
||||||
return error.SkipZigTest;
|
return error.SkipZigTest;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user