tests: re-enable tests that now pass on aarch64-windows

This commit is contained in:
kcbanner 2024-10-22 01:18:16 -04:00 committed by Alex Rønne Petersen
parent 85d87c9ca1
commit 2d888a8e63
5 changed files with 0 additions and 25 deletions

View File

@ -281,11 +281,6 @@ test "page aligned array on stack" {
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
if (builtin.cpu.arch == .aarch64 and builtin.os.tag == .windows) {
// https://github.com/ziglang/zig/issues/13679
return error.SkipZigTest;
}
// Large alignment value to make it hard to accidentally pass. // Large alignment value to make it hard to accidentally pass.
var array align(0x1000) = [_]u8{ 1, 2, 3, 4, 5, 6, 7, 8 }; var array align(0x1000) = [_]u8{ 1, 2, 3, 4, 5, 6, 7, 8 };
var number1: u8 align(16) = 42; var number1: u8 align(16) = 42;

View File

@ -1174,10 +1174,6 @@ test "arrays and vectors with big integers" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
// TODO: only aarch64-windows didn't pass in the PR that added this code.
// figure out why if you can run this target.
if (builtin.os.tag == .windows and builtin.cpu.arch == .aarch64) return error.SkipZigTest;
inline for (.{ u65528, u65529, u65535 }) |Int| { inline for (.{ u65528, u65529, u65535 }) |Int| {
var a: [1]Int = undefined; var a: [1]Int = undefined;
a[0] = std.math.maxInt(Int); a[0] = std.math.maxInt(Int);

View File

@ -2504,13 +2504,6 @@ test "@intFromBool on vector" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_llvm and
builtin.cpu.arch == .aarch64 and builtin.os.tag == .windows)
{
// https://github.com/ziglang/zig/issues/19825
return error.SkipZigTest;
}
const S = struct { const S = struct {
fn doTheTest() !void { fn doTheTest() !void {
var a: @Vector(3, bool) = .{ false, true, false }; var a: @Vector(3, bool) = .{ false, true, false };

View File

@ -532,8 +532,6 @@ test "call generic function with from function called by the generic function" {
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO 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) return error.SkipZigTest;
const GET = struct { const GET = struct {
key: []const u8, key: []const u8,

View File

@ -140,13 +140,6 @@ test "@shuffle bool 1" {
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_llvm and
builtin.cpu.arch == .aarch64 and builtin.os.tag == .windows)
{
// https://github.com/ziglang/zig/issues/19824
return error.SkipZigTest;
}
const S = struct { const S = struct {
fn doTheTest() !void { fn doTheTest() !void {
var x: @Vector(4, bool) = [4]bool{ false, true, false, true }; var x: @Vector(4, bool) = [4]bool{ false, true, false, true };