aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/floatop.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-04-27 17:24:36 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-04-27 17:24:36 -0700
commit758ec9bdd4585b28f50cb7beb01b1cfc4e3cf1a9 (patch)
treeae1116e81a731304c08bb4944e54a38e1eeb8807 /test/behavior/floatop.zig
parent09f1d62bdfb5794534b21d1cd9dafc4822697d60 (diff)
downloadzig-758ec9bdd4585b28f50cb7beb01b1cfc4e3cf1a9.tar.gz
zig-758ec9bdd4585b28f50cb7beb01b1cfc4e3cf1a9.zip
enable newly passing behavior tests
closes #11030
Diffstat (limited to 'test/behavior/floatop.zig')
-rw-r--r--test/behavior/floatop.zig20
1 files changed, 5 insertions, 15 deletions
diff --git a/test/behavior/floatop.zig b/test/behavior/floatop.zig
index 0700b47c61..cc978f3b8d 100644
--- a/test/behavior/floatop.zig
+++ b/test/behavior/floatop.zig
@@ -609,16 +609,11 @@ test "negation f64" {
}
test "negation f80" {
- if (builtin.zig_backend != .stage1) {
- // This test case exercises @intToFloat f80 in the compiler implementation.
- // https://github.com/ziglang/zig/issues/11030
- return error.SkipZigTest;
- }
-
- if (builtin.os.tag == .freebsd) {
- // TODO file issue to track this failure
- return error.SkipZigTest;
- }
+ if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO
const S = struct {
fn doTheTest() !void {
@@ -641,11 +636,6 @@ test "negation f128" {
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO
- if (builtin.os.tag == .freebsd) {
- // TODO file issue to track this failure
- return error.SkipZigTest;
- }
-
const S = struct {
fn doTheTest() !void {
var a: f128 = 1;