commit a3f56154d08f25dbe2b6d15de30deda8a2d9ef33 (tree)
parent 1387d2f5acf65ed809254f266788f65f8379a3a2
Author: Andrew Kelley <andrew@ziglang.org>
Date: Sun, 1 May 2022 22:11:57 -0700
stage1: disable new behavior tests
Oops, I forgot to check if the new behavior tests are passing for
stage1.
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/test/behavior/floatop.zig b/test/behavior/floatop.zig
@@ -689,6 +689,7 @@ test "f128 at compile time is lossy" {
}
test "comptime fixed-width float zero divided by zero produces NaN" {
+ if (builtin.zig_backend == .stage1) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
@@ -701,6 +702,7 @@ test "comptime fixed-width float zero divided by zero produces NaN" {
}
test "comptime fixed-width float non-zero divided by zero produces signed Inf" {
+ if (builtin.zig_backend == .stage1) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
@@ -718,5 +720,7 @@ test "comptime fixed-width float non-zero divided by zero produces signed Inf" {
}
test "comptime_float zero divided by zero produces zero" {
+ if (builtin.zig_backend == .stage1) return error.SkipZigTest;
+
try expect((0.0 / 0.0) == 0.0);
}