std: Disable hash.xxhash.test.xxhash3 on MIPS N32.

https://github.com/ziglang/zig/issues/23807
This commit is contained in:
Alex Rønne Petersen 2025-05-06 05:35:53 +02:00
parent d381645c73
commit dd1de18f96
No known key found for this signature in database

View file

@ -781,6 +781,7 @@ fn testExpect(comptime H: type, seed: anytype, input: []const u8, expected: u64)
test "xxhash3" { test "xxhash3" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
const H = XxHash3; const H = XxHash3;
// Non-Seeded Tests // Non-Seeded Tests
@ -814,6 +815,7 @@ test "xxhash3" {
test "xxhash3 smhasher" { test "xxhash3 smhasher" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
const Test = struct { const Test = struct {
fn do() !void { fn do() !void {
@ -827,6 +829,7 @@ test "xxhash3 smhasher" {
test "xxhash3 iterative api" { test "xxhash3 iterative api" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.cpu.arch.isMIPS64() and (builtin.abi == .gnuabin32 or builtin.abi == .muslabin32)) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/23807
const Test = struct { const Test = struct {
fn do() !void { fn do() !void {