diff options
Diffstat (limited to 'test/behavior/floatop.zig')
| -rw-r--r-- | test/behavior/floatop.zig | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/behavior/floatop.zig b/test/behavior/floatop.zig index f95840abee..da1667b077 100644 --- a/test/behavior/floatop.zig +++ b/test/behavior/floatop.zig @@ -542,6 +542,11 @@ test "another, possibly redundant, @fabs test" { return error.SkipZigTest; } + if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { + // TODO: test is failing + return error.SkipZigTest; + } + try testFabsLegacy(f128, 12.0); comptime try testFabsLegacy(f128, 12.0); try testFabsLegacy(f64, 12.0); @@ -586,6 +591,11 @@ test "a third @fabs test, surely there should not be three fabs tests" { return error.SkipZigTest; } + if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { + // TODO: test is failing + return error.SkipZigTest; + } + inline for ([_]type{ f16, f32, f64, f80, f128, c_longdouble }) |T| { // normals try expect(@fabs(@as(T, 1.0)) == 1.0); @@ -688,6 +698,11 @@ test "@floor f128" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO + if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { + // TODO: test is failing + return error.SkipZigTest; + } + try testFloorLegacy(f128, 12.0); comptime try testFloorLegacy(f128, 12.0); } @@ -874,6 +889,11 @@ test "@trunc f128" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO + if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { + // TODO: test is failing + return error.SkipZigTest; + } + try testTruncLegacy(f128, 12.0); comptime try testTruncLegacy(f128, 12.0); } @@ -992,6 +1012,11 @@ test "negation f128" { return error.SkipZigTest; } + if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) { + // TODO: test is failing + return error.SkipZigTest; + } + const S = struct { fn doTheTest() !void { var a: f128 = 1; |
