diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2023-10-24 05:34:13 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-24 05:34:13 -0400 |
| commit | bb0419599aa93455f3ae0969f4bfd80204807596 (patch) | |
| tree | edce35a16131dbe5ce31a62cbbf7ac8f2dfca0bc /lib/std/sort.zig | |
| parent | b477279c37d1ca1c141a3e30589bd974687b85cc (diff) | |
| parent | f7482a5c95dd549eb3da103eab42bac881ba0498 (diff) | |
| download | zig-bb0419599aa93455f3ae0969f4bfd80204807596.tar.gz zig-bb0419599aa93455f3ae0969f4bfd80204807596.zip | |
Merge pull request #17666 from jacobly0/x86_64-unicode
x86_64: pass more std tests
Diffstat (limited to 'lib/std/sort.zig')
| -rw-r--r-- | lib/std/sort.zig | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/std/sort.zig b/lib/std/sort.zig index 149f632944..e110a8beb8 100644 --- a/lib/std/sort.zig +++ b/lib/std/sort.zig @@ -1,6 +1,5 @@ const std = @import("std.zig"); const assert = std.debug.assert; -const builtin = @import("builtin"); const testing = std.testing; const mem = std.mem; const math = std.math; @@ -177,8 +176,6 @@ const IdAndValue = struct { }; test "stable sort" { - if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; - const expected = [_]IdAndValue{ IdAndValue{ .id = 0, .value = 0 }, IdAndValue{ .id = 1, .value = 0 }, @@ -226,8 +223,6 @@ test "stable sort" { } test "sort" { - if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; - const u8cases = [_][]const []const u8{ &[_][]const u8{ "", @@ -306,8 +301,6 @@ test "sort" { } test "sort descending" { - if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; - const rev_cases = [_][]const []const i32{ &[_][]const i32{ &[_]i32{}, @@ -347,8 +340,6 @@ test "sort descending" { } test "sort with context in the middle of a slice" { - if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; - const Context = struct { items: []i32, @@ -388,8 +379,6 @@ test "sort with context in the middle of a slice" { } test "sort fuzz testing" { - if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; - var prng = std.rand.DefaultPrng.init(0x12345678); const random = prng.random(); const test_case_count = 10; |
