From a3f56154d08f25dbe2b6d15de30deda8a2d9ef33 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sun, 1 May 2022 22:11:57 -0700 Subject: stage1: disable new behavior tests Oops, I forgot to check if the new behavior tests are passing for stage1. --- test/behavior/floatop.zig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/behavior/floatop.zig') diff --git a/test/behavior/floatop.zig b/test/behavior/floatop.zig index 9ba61f6901..c02c1c15c4 100644 --- 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); } -- cgit v1.2.3