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