disable atomic stack and queue tests for non-linux

This commit is contained in:
Andrew Kelley 2018-04-28 18:19:00 -04:00
parent 5d6e44b3f2
commit a10351b439
2 changed files with 8 additions and 0 deletions

View File

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

View File

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