enable atomic queue and stack tests for macos

master
Andrew Kelley 2018-04-29 00:09:18 -04:00
parent a425420993
commit abf90eaa67
2 changed files with 4 additions and 4 deletions

View File

@ -53,8 +53,8 @@ const puts_per_thread = 10000;
const put_thread_count = 3; const put_thread_count = 3;
test "std.atomic.queue" { test "std.atomic.queue" {
if (builtin.os != builtin.Os.linux) { if (builtin.os == builtin.Os.windows) {
// TODO implement kernel threads for windows and macos // TODO implement kernel threads for windows
return; return;
} }
var direct_allocator = std.heap.DirectAllocator.init(); var direct_allocator = std.heap.DirectAllocator.init();

View File

@ -60,8 +60,8 @@ const puts_per_thread = 1000;
const put_thread_count = 3; const put_thread_count = 3;
test "std.atomic.stack" { test "std.atomic.stack" {
if (builtin.os != builtin.Os.linux) { if (builtin.os == builtin.Os.windows) {
// TODO implement kernel threads for windows and macos // TODO implement kernel threads for windows
return; return;
} }
var direct_allocator = std.heap.DirectAllocator.init(); var direct_allocator = std.heap.DirectAllocator.init();