Skip to content

Commit

Permalink
test: Disable reinterpret packed union on all big endian targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrp committed Nov 3, 2024
1 parent 53d7a7b commit c81f2a3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/behavior/union.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1820,10 +1820,8 @@ test "reinterpret packed union" {
try comptime S.doTheTest();

if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
if (builtin.cpu.arch.isPowerPC()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21050
if (builtin.cpu.arch.isMIPS()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21050
if (builtin.cpu.arch.isWasm()) return error.SkipZigTest; // TODO
if (builtin.cpu.arch == .s390x and builtin.zig_backend == .stage2_llvm) return error.SkipZigTest; // TODO
if (builtin.cpu.arch.endian() == .big) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21050
try S.doTheTest();
}

Expand Down

0 comments on commit c81f2a3

Please sign in to comment.