skip std.ThreadParker test on single-threaded

master
kprotty 2019-11-06 17:23:44 -06:00
parent 4dbfc48ab3
commit 7045f1e875
1 changed files with 3 additions and 0 deletions

View File

@ -340,6 +340,9 @@ const PosixParker = struct {
};
test "std.ThreadParker" {
if (builtin.single_threaded)
return error.SkipZigTest;
const Context = struct {
parker: ThreadParker,
data: u32,