mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
std: Disable hash.xxhash.test.xxhash3 on MIPS N32.
https://github.com/ziglang/zig/issues/23807
This commit is contained in:
parent
d381645c73
commit
dd1de18f96
1 changed files with 3 additions and 0 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue