behavior: enable a bunch of disabled tests

This commit is contained in:
Jacob Young
2023-04-21 00:16:30 -04:00
parent a519c9dace
commit 6b23a7b61a
7 changed files with 1 additions and 216 deletions

View File

@@ -286,20 +286,11 @@ test "page aligned array on stack" {
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_llvm and
builtin.cpu.arch == .aarch64 and builtin.os.tag == .windows)
{
if (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 };
var number1: u8 align(16) = 42;