aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/align.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-12-10 13:44:12 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-12-10 16:28:49 -0700
commit74718a11831ea82b20bfe4e2f9211ccf322ead33 (patch)
treed0e4af709a189f1107d94e8cb7e9d5aa68cc7ea4 /test/behavior/align.zig
parentc029a98f1c601f4ff1369b49a4402d5c94fbb168 (diff)
downloadzig-74718a11831ea82b20bfe4e2f9211ccf322ead33.tar.gz
zig-74718a11831ea82b20bfe4e2f9211ccf322ead33.zip
disable failing CBE behavior tests failing on aarch64-windows
Also start to move redundant tests next to each other to make them slightly more obvious that they need to be cleaned up. See tracking issue #13876
Diffstat (limited to 'test/behavior/align.zig')
-rw-r--r--test/behavior/align.zig16
1 files changed, 13 insertions, 3 deletions
diff --git a/test/behavior/align.zig b/test/behavior/align.zig
index b536ffc6aa..780ee06875 100644
--- a/test/behavior/align.zig
+++ b/test/behavior/align.zig
@@ -275,10 +275,20 @@ test "page aligned array on stack" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
- // https://github.com/ziglang/zig/issues/13679
+
if (builtin.zig_backend == .stage2_llvm and
- builtin.cpu.arch == .aarch64 and
- builtin.os.tag == .windows) return error.SkipZigTest;
+ builtin.cpu.arch == .aarch64 and builtin.os.tag == .windows)
+ {
+ // https://github.com/ziglang/zig/issues/13679
+ 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;
+ }
// Large alignment value to make it hard to accidentally pass.
var array align(0x1000) = [_]u8{ 1, 2, 3, 4, 5, 6, 7, 8 };