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/Thread | |
| 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/Thread')
| -rw-r--r-- | lib/std/Thread/Condition.zig | 4 | ||||
| -rw-r--r-- | lib/std/Thread/Semaphore.zig | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/std/Thread/Condition.zig b/lib/std/Thread/Condition.zig index 549ea623dd..9b8ef919a6 100644 --- a/lib/std/Thread/Condition.zig +++ b/lib/std/Thread/Condition.zig @@ -324,6 +324,8 @@ test "Condition - wait and signal" { return error.SkipZigTest; } + if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; + const num_threads = 4; const MultiWait = struct { @@ -369,8 +371,6 @@ test "Condition - signal" { return error.SkipZigTest; } - if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; - const num_threads = 4; const SignalTest = struct { diff --git a/lib/std/Thread/Semaphore.zig b/lib/std/Thread/Semaphore.zig index 1b182d4c2a..0c04e8a859 100644 --- a/lib/std/Thread/Semaphore.zig +++ b/lib/std/Thread/Semaphore.zig @@ -39,6 +39,8 @@ test "Thread.Semaphore" { return error.SkipZigTest; } + if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; + const TestContext = struct { sem: *Semaphore, n: *i32, |
