authorgravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-06-20 15:34:29+01:00
committergravatar for mlugg@mlugg.co.ukMatthew Lugg <mlugg@mlugg.co.uk> 2026-06-24 10:20:56+01:00
log664c1d0198c1d5027167461cc0013faf5fc53347
treed2ea2ec63c74e6f320e288b5a73dee578bef6df6
parentc152fa02b7fd98be7ae37fd3e216cb714ed0a119
signaturelock-open Commit is signed but in an unrecognized format.

cbe: disable some failing tests


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

lib/std/Random/RomuTrio.zig+2
...@@ -5,6 +5,7 @@...@@ -5,6 +5,7 @@
5const std = @import("std");5const std = @import("std");
6const math = std.math;6const math = std.math;
7const RomuTrio = @This();7const RomuTrio = @This();
8const builtin = @import("builtin");
89
9x_state: u64,10x_state: u64,
10y_state: u64,11y_state: u64,
...@@ -121,6 +122,7 @@ test fill {...@@ -121,6 +122,7 @@ test fill {
121}122}
122123
123test "buf seeding test" {124test "buf seeding test" {
125 if (builtin.zig_backend == .stage2_c) return error.SkipZigTest;
124 const buf0: [24]u8 = @bitCast([3]u64{ 16294208416658607535, 13964609475759908645, 4703697494102998476 });126 const buf0: [24]u8 = @bitCast([3]u64{ 16294208416658607535, 13964609475759908645, 4703697494102998476 });
125 const resulting_state = .{ .x = 16294208416658607535, .y = 13964609475759908645, .z = 4703697494102998476 };127 const resulting_state = .{ .x = 16294208416658607535, .y = 13964609475759908645, .z = 4703697494102998476 };
126 var r = RomuTrio.init(0);128 var r = RomuTrio.init(0);
lib/std/hash/xxhash.zig+3-1
...@@ -2,7 +2,6 @@ const std = @import("std");...@@ -2,7 +2,6 @@ const std = @import("std");
2const builtin = @import("builtin");2const builtin = @import("builtin");
3const mem = std.mem;3const mem = std.mem;
4const expectEqual = std.testing.expectEqual;4const expectEqual = std.testing.expectEqual;
5const native_endian = builtin.cpu.arch.endian();
65
7const rotl = std.math.rotl;6const rotl = std.math.rotl;
87
...@@ -789,6 +788,7 @@ fn testExpect(comptime H: type, seed: anytype, input: []const u8, expected: u64)...@@ -789,6 +788,7 @@ fn testExpect(comptime H: type, seed: anytype, input: []const u8, expected: u64)
789}788}
790789
791test "xxhash3" {790test "xxhash3" {
791 if (builtin.zig_backend == .stage2_c) return error.SkipZigTest;
792 const H = XxHash3;792 const H = XxHash3;
793 // Non-Seeded Tests793 // Non-Seeded Tests
794 try testExpect(H, 0, "", 0x2d06800538d394c2);794 try testExpect(H, 0, "", 0x2d06800538d394c2);
...@@ -820,6 +820,7 @@ test "xxhash3" {...@@ -820,6 +820,7 @@ test "xxhash3" {
820}820}
821821
822test "xxhash3 smhasher" {822test "xxhash3 smhasher" {
823 if (builtin.zig_backend == .stage2_c) return error.SkipZigTest;
823 const Test = struct {824 const Test = struct {
824 fn do() !void {825 fn do() !void {
825 try expectEqual(verify.smhasher(XxHash3.hash), 0x9a636405);826 try expectEqual(verify.smhasher(XxHash3.hash), 0x9a636405);
...@@ -831,6 +832,7 @@ test "xxhash3 smhasher" {...@@ -831,6 +832,7 @@ test "xxhash3 smhasher" {
831}832}
832833
833test "xxhash3 iterative api" {834test "xxhash3 iterative api" {
835 if (builtin.zig_backend == .stage2_c) return error.SkipZigTest;
834 const Test = struct {836 const Test = struct {
835 fn do() !void {837 fn do() !void {
836 try verify.iterativeApi(XxHash3);838 try verify.iterativeApi(XxHash3);
test/behavior/vector.zig+1
...@@ -1620,6 +1620,7 @@ test "bitcast vector to array of smaller vectors" {...@@ -1620,6 +1620,7 @@ test "bitcast vector to array of smaller vectors" {
1620 if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;1620 if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
1621 if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO1621 if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
1622 if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest;1622 if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest;
1623 if (builtin.zig_backend == .stage2_c) return error.SkipZigTest;
16231624
1624 const u8x32 = @Vector(32, u8);1625 const u8x32 = @Vector(32, u8);
1625 const u8x64 = @Vector(64, u8);1626 const u8x64 = @Vector(64, u8);