aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/math.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-04-21 00:16:30 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-04-21 16:36:31 -0400
commit6b23a7b61a22b7c79a44b758ff2cfdc30bcc8d8a (patch)
tree0f65543b2bf01ba8b77cbe80f9d3357a6d9efb73 /test/behavior/math.zig
parenta519c9daced7dc182a57d8a49992463eabf3c825 (diff)
downloadzig-6b23a7b61a22b7c79a44b758ff2cfdc30bcc8d8a.tar.gz
zig-6b23a7b61a22b7c79a44b758ff2cfdc30bcc8d8a.zip
behavior: enable a bunch of disabled tests
Diffstat (limited to 'test/behavior/math.zig')
-rw-r--r--test/behavior/math.zig63
1 files changed, 0 insertions, 63 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig
index 5da24f7747..fddf7ee2e5 100644
--- a/test/behavior/math.zig
+++ b/test/behavior/math.zig
@@ -615,18 +615,6 @@ test "f128" {
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
- if (builtin.os.tag == .windows and builtin.cpu.arch == .aarch64 and
- builtin.zig_backend == .stage2_c)
- {
- // https://github.com/ziglang/zig/issues/13876
- return error.SkipZigTest;
- }
-
- if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) {
- // TODO: test is failing
- return error.SkipZigTest;
- }
-
try test_f128();
comptime try test_f128();
}
@@ -1297,18 +1285,6 @@ test "remainder division" {
return error.SkipZigTest;
}
- if (builtin.zig_backend == .stage2_c and builtin.os.tag == .windows and
- builtin.cpu.arch == .aarch64)
- {
- // https://github.com/ziglang/zig/issues/13876
- return error.SkipZigTest;
- }
-
- if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) {
- // TODO: test is failing
- return error.SkipZigTest;
- }
-
comptime try remdiv(f16);
comptime try remdiv(f32);
comptime try remdiv(f64);
@@ -1340,11 +1316,6 @@ test "float remainder division using @rem" {
if (builtin.zig_backend == .stage2_sparc64) 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 == .x86_64) {
- // TODO: test is failing
- return error.SkipZigTest;
- }
-
comptime try frem(f16);
comptime try frem(f32);
comptime try frem(f64);
@@ -1387,11 +1358,6 @@ test "float modulo division using @mod" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
- if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .x86_64) {
- // TODO: test is failing
- return error.SkipZigTest;
- }
-
comptime try fmod(f16);
comptime try fmod(f32);
comptime try fmod(f64);
@@ -1465,11 +1431,6 @@ test "@round f128" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
- if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) {
- // TODO: test is failing
- return error.SkipZigTest;
- }
-
try testRound(f128, 12.0);
comptime try testRound(f128, 12.0);
}
@@ -1508,18 +1469,6 @@ test "NaN comparison" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
- if (builtin.zig_backend == .stage2_c and builtin.os.tag == .windows and
- builtin.cpu.arch == .aarch64)
- {
- // https://github.com/ziglang/zig/issues/13876
- return error.SkipZigTest;
- }
-
- if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) {
- // TODO: test is failing
- return error.SkipZigTest;
- }
-
try testNanEqNan(f16);
try testNanEqNan(f32);
try testNanEqNan(f64);
@@ -1589,18 +1538,6 @@ test "signed zeros are represented properly" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
- if (builtin.os.tag == .windows and builtin.cpu.arch == .aarch64 and
- builtin.zig_backend == .stage2_c)
- {
- // TODO: test is failing
- 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 {
try testOne(f16);