authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-03 07:47:53+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-04 08:29:42+01:00
log96ea7d3e1cec61048c4bc3467b6014139ab532c8
tree4d50e457e489bc8b4321c52a0bc0360c44dee13d
parent814a41b48f157fff1f48c4a14e92142d1e6e5748
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: Disable `reinterpret packed union` on all big endian targets.

See: https://github.com/ziglang/zig/issues/21050

1 files changed, 1 insertions(+), 3 deletions(-)

test/behavior/union.zig+1-3
...@@ -1820,10 +1820,8 @@ test "reinterpret packed union" {...@@ -1820,10 +1820,8 @@ test "reinterpret packed union" {
1820 try comptime S.doTheTest();1820 try comptime S.doTheTest();
18211821
1822 if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO1822 if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
1823 if (builtin.cpu.arch.isPowerPC()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21050
1824 if (builtin.cpu.arch.isMIPS()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21050
1825 if (builtin.cpu.arch.isWasm()) return error.SkipZigTest; // TODO1823 if (builtin.cpu.arch.isWasm()) return error.SkipZigTest; // TODO
1826 if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // TODO1824 if (builtin.cpu.arch.endian() == .big) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21050
1827 try S.doTheTest();1825 try S.doTheTest();
1828}1826}
18291827