diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-05-01 22:11:57 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-05-01 22:11:57 -0700 |
| commit | a3f56154d08f25dbe2b6d15de30deda8a2d9ef33 (patch) | |
| tree | 9e8e00115d4db3a1d0cfed7d17eedc502f2b784c /test | |
| parent | 1387d2f5acf65ed809254f266788f65f8379a3a2 (diff) | |
| download | zig-a3f56154d08f25dbe2b6d15de30deda8a2d9ef33.tar.gz zig-a3f56154d08f25dbe2b6d15de30deda8a2d9ef33.zip | |
stage1: disable new behavior tests
Oops, I forgot to check if the new behavior tests are passing for
stage1.
Diffstat (limited to 'test')
| -rw-r--r-- | test/behavior/floatop.zig | 4 |
1 files changed, 4 insertions, 0 deletions
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); } |
