authorgravatar for kcbanner@gmail.comCasey Banner <kcbanner@gmail.com> 2024-10-22 01:18:16-04:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-10-22 11:39:29+02:00
log2d888a8e639856e8cb6e4c6f9e6a27647b464952
tree8dcad81d3d3e3b8d15c78e02114ad13ad57156ae
parent85d87c9ca1f0c0c7fe9efa5ab54e306c6a309de3

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


5 files changed, 0 insertions(+), 25 deletions(-)

test/behavior/align.zig-5
...@@ -281,11 +281,6 @@ test "page aligned array on stack" {...@@ -281,11 +281,6 @@ test "page aligned array on stack" {
281 if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO281 if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
282 if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;282 if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
283283
284 if (builtin.cpu.arch == .aarch64 and builtin.os.tag == .windows) {
285 // https://github.com/ziglang/zig/issues/13679
286 return error.SkipZigTest;
287 }
288
289 // Large alignment value to make it hard to accidentally pass.284 // Large alignment value to make it hard to accidentally pass.
290 var array align(0x1000) = [_]u8{ 1, 2, 3, 4, 5, 6, 7, 8 };285 var array align(0x1000) = [_]u8{ 1, 2, 3, 4, 5, 6, 7, 8 };
291 var number1: u8 align(16) = 42;286 var number1: u8 align(16) = 42;
test/behavior/basic.zig-4
...@@ -1174,10 +1174,6 @@ test "arrays and vectors with big integers" {...@@ -1174,10 +1174,6 @@ test "arrays and vectors with big integers" {
1174 if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;1174 if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
1175 if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;1175 if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
11761176
1177 // TODO: only aarch64-windows didn't pass in the PR that added this code.
1178 // figure out why if you can run this target.
1179 if (builtin.os.tag == .windows and builtin.cpu.arch == .aarch64) return error.SkipZigTest;
1180
1181 inline for (.{ u65528, u65529, u65535 }) |Int| {1177 inline for (.{ u65528, u65529, u65535 }) |Int| {
1182 var a: [1]Int = undefined;1178 var a: [1]Int = undefined;
1183 a[0] = std.math.maxInt(Int);1179 a[0] = std.math.maxInt(Int);
test/behavior/cast.zig-7
...@@ -2504,13 +2504,6 @@ test "@intFromBool on vector" {...@@ -2504,13 +2504,6 @@ test "@intFromBool on vector" {
2504 if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;2504 if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
2505 if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;2505 if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
25062506
2507 if (builtin.zig_backend == .stage2_llvm and
2508 builtin.cpu.arch == .aarch64 and builtin.os.tag == .windows)
2509 {
2510 // https://github.com/ziglang/zig/issues/19825
2511 return error.SkipZigTest;
2512 }
2513
2514 const S = struct {2507 const S = struct {
2515 fn doTheTest() !void {2508 fn doTheTest() !void {
2516 var a: @Vector(3, bool) = .{ false, true, false };2509 var a: @Vector(3, bool) = .{ false, true, false };
test/behavior/generics.zig-2
...@@ -532,8 +532,6 @@ test "call generic function with from function called by the generic function" {...@@ -532,8 +532,6 @@ test "call generic function with from function called by the generic function" {
532 if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;532 if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
533 if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;533 if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
534 if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO534 if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
535 if (builtin.zig_backend == .stage2_llvm and
536 builtin.cpu.arch == .aarch64 and builtin.os.tag == .windows) return error.SkipZigTest;
537535
538 const GET = struct {536 const GET = struct {
539 key: []const u8,537 key: []const u8,
test/behavior/shuffle.zig-7
...@@ -140,13 +140,6 @@ test "@shuffle bool 1" {...@@ -140,13 +140,6 @@ test "@shuffle bool 1" {
140 if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO140 if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
141 if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;141 if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
142142
143 if (builtin.zig_backend == .stage2_llvm and
144 builtin.cpu.arch == .aarch64 and builtin.os.tag == .windows)
145 {
146 // https://github.com/ziglang/zig/issues/19824
147 return error.SkipZigTest;
148 }
149
150 const S = struct {143 const S = struct {
151 fn doTheTest() !void {144 fn doTheTest() !void {
152 var x: @Vector(4, bool) = [4]bool{ false, true, false, true };145 var x: @Vector(4, bool) = [4]bool{ false, true, false, true };