aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/math.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-04-14 13:07:34 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-04-15 10:33:08 -0700
commita281d298816b6881e16ebfabb3743526bd8a1577 (patch)
treefb63fc51055da2c477bbb4221e1b29d3a72701a4 /test/behavior/math.zig
parent29c8d93b820b5b8cd66d77b3c983f1c665e5884b (diff)
downloadzig-a281d298816b6881e16ebfabb3743526bd8a1577.tar.gz
zig-a281d298816b6881e16ebfabb3743526bd8a1577.zip
disable not-yet-passing C backend tests
Diffstat (limited to 'test/behavior/math.zig')
-rw-r--r--test/behavior/math.zig26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig
index 9e3c2b02fd..b69ac04d40 100644
--- a/test/behavior/math.zig
+++ b/test/behavior/math.zig
@@ -622,6 +622,11 @@ test "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;
+ }
+
try test_f128();
comptime try test_f128();
}
@@ -1299,6 +1304,11 @@ test "remainder division" {
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;
+ }
+
comptime try remdiv(f16);
comptime try remdiv(f32);
comptime try remdiv(f64);
@@ -1445,6 +1455,11 @@ 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 and builtin.cpu.arch == .aarch64) {
+ // TODO: test is failing
+ return error.SkipZigTest;
+ }
+
try testRound(f128, 12.0);
comptime try testRound(f128, 12.0);
}
@@ -1490,6 +1505,11 @@ test "NaN comparison" {
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 testNanEqNan(f16);
try testNanEqNan(f32);
try testNanEqNan(f64);
@@ -1562,6 +1582,12 @@ test "signed zeros are represented properly" {
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;
}