aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/math.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-04-15 10:32:54 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-04-15 10:33:08 -0700
commite9d854743aba390d757e56714e2b323e99e5722b (patch)
tree8d708f2c208388f33e00bd909651c63d599dd06d /test/behavior/math.zig
parenta281d298816b6881e16ebfabb3743526bd8a1577 (diff)
downloadzig-e9d854743aba390d757e56714e2b323e99e5722b.tar.gz
zig-e9d854743aba390d757e56714e2b323e99e5722b.zip
disable more failing C backend tests
Diffstat (limited to 'test/behavior/math.zig')
-rw-r--r--test/behavior/math.zig18
1 files changed, 14 insertions, 4 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig
index b69ac04d40..5da24f7747 100644
--- a/test/behavior/math.zig
+++ b/test/behavior/math.zig
@@ -622,7 +622,7 @@ test "f128" {
return error.SkipZigTest;
}
- if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) {
+ if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) {
// TODO: test is failing
return error.SkipZigTest;
}
@@ -1304,7 +1304,7 @@ test "remainder division" {
return error.SkipZigTest;
}
- if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) {
+ if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) {
// TODO: test is failing
return error.SkipZigTest;
}
@@ -1340,6 +1340,11 @@ 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);
@@ -1382,6 +1387,11 @@ 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);
@@ -1455,7 +1465,7 @@ 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) {
+ if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) {
// TODO: test is failing
return error.SkipZigTest;
}
@@ -1505,7 +1515,7 @@ test "NaN comparison" {
return error.SkipZigTest;
}
- if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c and builtin.cpu.arch == .aarch64) {
+ if (builtin.os.tag == .macos and builtin.zig_backend == .stage2_c) {
// TODO: test is failing
return error.SkipZigTest;
}