add comments to disabled tests linking to the tracking issue
This commit is contained in:
parent
33cc204481
commit
6a15e8a7a7
@ -152,7 +152,9 @@ const puts_per_thread = 500;
|
|||||||
const put_thread_count = 3;
|
const put_thread_count = 3;
|
||||||
|
|
||||||
test "std.atomic.Queue" {
|
test "std.atomic.Queue" {
|
||||||
|
// https://github.com/ziglang/zig/issues/3563
|
||||||
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
||||||
|
|
||||||
var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024);
|
var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024);
|
||||||
defer std.heap.direct_allocator.free(plenty_of_memory);
|
defer std.heap.direct_allocator.free(plenty_of_memory);
|
||||||
|
|
||||||
|
@ -86,7 +86,9 @@ const puts_per_thread = 500;
|
|||||||
const put_thread_count = 3;
|
const put_thread_count = 3;
|
||||||
|
|
||||||
test "std.atomic.stack" {
|
test "std.atomic.stack" {
|
||||||
|
// https://github.com/ziglang/zig/issues/3563
|
||||||
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
||||||
|
|
||||||
var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024);
|
var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024);
|
||||||
defer std.heap.direct_allocator.free(plenty_of_memory);
|
defer std.heap.direct_allocator.free(plenty_of_memory);
|
||||||
|
|
||||||
|
@ -304,9 +304,12 @@ pub fn Channel(comptime T: type) type {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test "std.event.Channel" {
|
test "std.event.Channel" {
|
||||||
|
// https://github.com/ziglang/zig/issues/3563
|
||||||
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
||||||
|
|
||||||
// https://github.com/ziglang/zig/issues/1908
|
// https://github.com/ziglang/zig/issues/1908
|
||||||
if (builtin.single_threaded) return error.SkipZigTest;
|
if (builtin.single_threaded) return error.SkipZigTest;
|
||||||
|
|
||||||
// https://github.com/ziglang/zig/issues/3251
|
// https://github.com/ziglang/zig/issues/3251
|
||||||
if (builtin.os == .freebsd) return error.SkipZigTest;
|
if (builtin.os == .freebsd) return error.SkipZigTest;
|
||||||
|
|
||||||
|
@ -81,7 +81,9 @@ pub fn Group(comptime ReturnType: type) type {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test "std.event.Group" {
|
test "std.event.Group" {
|
||||||
|
// https://github.com/ziglang/zig/issues/3563
|
||||||
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
||||||
|
|
||||||
// https://github.com/ziglang/zig/issues/1908
|
// https://github.com/ziglang/zig/issues/1908
|
||||||
if (builtin.single_threaded) return error.SkipZigTest;
|
if (builtin.single_threaded) return error.SkipZigTest;
|
||||||
|
|
||||||
|
@ -116,9 +116,12 @@ pub const Lock = struct {
|
|||||||
};
|
};
|
||||||
|
|
||||||
test "std.event.Lock" {
|
test "std.event.Lock" {
|
||||||
|
// https://github.com/ziglang/zig/issues/3563
|
||||||
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
||||||
|
|
||||||
// TODO https://github.com/ziglang/zig/issues/1908
|
// TODO https://github.com/ziglang/zig/issues/1908
|
||||||
if (builtin.single_threaded) return error.SkipZigTest;
|
if (builtin.single_threaded) return error.SkipZigTest;
|
||||||
|
|
||||||
// TODO https://github.com/ziglang/zig/issues/3251
|
// TODO https://github.com/ziglang/zig/issues/3251
|
||||||
if (builtin.os == .freebsd) return error.SkipZigTest;
|
if (builtin.os == .freebsd) return error.SkipZigTest;
|
||||||
|
|
||||||
|
@ -130,7 +130,9 @@ const TestContext = struct {
|
|||||||
};
|
};
|
||||||
|
|
||||||
test "std.Mutex" {
|
test "std.Mutex" {
|
||||||
|
// https://github.com/ziglang/zig/issues/3563
|
||||||
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
||||||
|
|
||||||
var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024);
|
var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024);
|
||||||
defer std.heap.direct_allocator.free(plenty_of_memory);
|
defer std.heap.direct_allocator.free(plenty_of_memory);
|
||||||
|
|
||||||
|
@ -16,7 +16,9 @@ const AtomicRmwOp = builtin.AtomicRmwOp;
|
|||||||
const AtomicOrder = builtin.AtomicOrder;
|
const AtomicOrder = builtin.AtomicOrder;
|
||||||
|
|
||||||
test "makePath, put some files in it, deleteTree" {
|
test "makePath, put some files in it, deleteTree" {
|
||||||
|
// https://github.com/ziglang/zig/issues/3563
|
||||||
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
||||||
|
|
||||||
try fs.makePath(a, "os_test_tmp" ++ fs.path.sep_str ++ "b" ++ fs.path.sep_str ++ "c");
|
try fs.makePath(a, "os_test_tmp" ++ fs.path.sep_str ++ "b" ++ fs.path.sep_str ++ "c");
|
||||||
try io.writeFile("os_test_tmp" ++ fs.path.sep_str ++ "b" ++ fs.path.sep_str ++ "c" ++ fs.path.sep_str ++ "file.txt", "nonsense");
|
try io.writeFile("os_test_tmp" ++ fs.path.sep_str ++ "b" ++ fs.path.sep_str ++ "c" ++ fs.path.sep_str ++ "file.txt", "nonsense");
|
||||||
try io.writeFile("os_test_tmp" ++ fs.path.sep_str ++ "b" ++ fs.path.sep_str ++ "file2.txt", "blah");
|
try io.writeFile("os_test_tmp" ++ fs.path.sep_str ++ "b" ++ fs.path.sep_str ++ "file2.txt", "blah");
|
||||||
@ -29,7 +31,9 @@ test "makePath, put some files in it, deleteTree" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test "access file" {
|
test "access file" {
|
||||||
|
// https://github.com/ziglang/zig/issues/3563
|
||||||
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
||||||
|
|
||||||
try fs.makePath(a, "os_test_tmp");
|
try fs.makePath(a, "os_test_tmp");
|
||||||
if (File.access("os_test_tmp" ++ fs.path.sep_str ++ "file.txt")) |ok| {
|
if (File.access("os_test_tmp" ++ fs.path.sep_str ++ "file.txt")) |ok| {
|
||||||
@panic("expected error");
|
@panic("expected error");
|
||||||
@ -97,7 +101,9 @@ test "cpu count" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test "AtomicFile" {
|
test "AtomicFile" {
|
||||||
|
// https://github.com/ziglang/zig/issues/3563
|
||||||
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
||||||
|
|
||||||
var buffer: [1024]u8 = undefined;
|
var buffer: [1024]u8 = undefined;
|
||||||
const allocator = &std.heap.FixedBufferAllocator.init(buffer[0..]).allocator;
|
const allocator = &std.heap.FixedBufferAllocator.init(buffer[0..]).allocator;
|
||||||
const test_out_file = "tmp_atomic_file_test_dest.txt";
|
const test_out_file = "tmp_atomic_file_test_dest.txt";
|
||||||
@ -118,7 +124,9 @@ test "AtomicFile" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test "thread local storage" {
|
test "thread local storage" {
|
||||||
|
// https://github.com/ziglang/zig/issues/3563
|
||||||
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
||||||
|
|
||||||
if (builtin.single_threaded) return error.SkipZigTest;
|
if (builtin.single_threaded) return error.SkipZigTest;
|
||||||
const thread1 = try Thread.spawn({}, testTls);
|
const thread1 = try Thread.spawn({}, testTls);
|
||||||
const thread2 = try Thread.spawn({}, testTls);
|
const thread2 = try Thread.spawn({}, testTls);
|
||||||
|
@ -61,7 +61,9 @@ pub const StaticallyInitializedMutex = switch (builtin.os) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
test "std.StaticallyInitializedMutex" {
|
test "std.StaticallyInitializedMutex" {
|
||||||
|
// https://github.com/ziglang/zig/issues/3563
|
||||||
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
||||||
|
|
||||||
const TestContext = struct {
|
const TestContext = struct {
|
||||||
data: i128,
|
data: i128,
|
||||||
|
|
||||||
|
@ -40,9 +40,11 @@ test "@byteSwap integers" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test "@byteSwap vectors" {
|
test "@byteSwap vectors" {
|
||||||
// Disabled because of #3317
|
// https://github.com/ziglang/zig/issues/3563
|
||||||
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
||||||
if (@import("builtin").arch == .mipsel) return error.SkipZigTest;
|
|
||||||
|
// https://github.com/ziglang/zig/issues/3317
|
||||||
|
if (builtin.arch == .mipsel) return error.SkipZigTest;
|
||||||
|
|
||||||
const ByteSwapVectorTest = struct {
|
const ByteSwapVectorTest = struct {
|
||||||
fn run() void {
|
fn run() void {
|
||||||
|
@ -112,7 +112,9 @@ test "array to vector" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test "vector casts of sizes not divisable by 8" {
|
test "vector casts of sizes not divisable by 8" {
|
||||||
|
// https://github.com/ziglang/zig/issues/3563
|
||||||
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
if (builtin.os == .dragonfly) return error.SkipZigTest;
|
||||||
|
|
||||||
const S = struct {
|
const S = struct {
|
||||||
fn doTheTest() void {
|
fn doTheTest() void {
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user