authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-10-30 21:29:45-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-10-30 21:29:45-04:00
log6a15e8a7a771bcbf2534cceecd77231344aafbf8
tree4b9f34412be146d95976e9427a8f898be8613a0b
parent33cc2044811e41a74e3112fc0abcc5dc6fd34836
signaturelock-open Commit is signed but in an unrecognized format.

add comments to disabled tests linking to the tracking issue


10 files changed, 30 insertions(+), 2 deletions(-)

lib/std/atomic/queue.zig+2
......@@ -152,7 +152,9 @@ const puts_per_thread = 500;
152152const put_thread_count = 3;
153153
154154test "std.atomic.Queue" {
155 // https://github.com/ziglang/zig/issues/3563
155156 if (builtin.os == .dragonfly) return error.SkipZigTest;
157
156158 var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024);
157159 defer std.heap.direct_allocator.free(plenty_of_memory);
158160
lib/std/atomic/stack.zig+2
......@@ -86,7 +86,9 @@ const puts_per_thread = 500;
8686const put_thread_count = 3;
8787
8888test "std.atomic.stack" {
89 // https://github.com/ziglang/zig/issues/3563
8990 if (builtin.os == .dragonfly) return error.SkipZigTest;
91
9092 var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024);
9193 defer std.heap.direct_allocator.free(plenty_of_memory);
9294
lib/std/event/channel.zig+3
......@@ -304,9 +304,12 @@ pub fn Channel(comptime T: type) type {
304304}
305305
306306test "std.event.Channel" {
307 // https://github.com/ziglang/zig/issues/3563
307308 if (builtin.os == .dragonfly) return error.SkipZigTest;
309
308310 // https://github.com/ziglang/zig/issues/1908
309311 if (builtin.single_threaded) return error.SkipZigTest;
312
310313 // https://github.com/ziglang/zig/issues/3251
311314 if (builtin.os == .freebsd) return error.SkipZigTest;
312315
lib/std/event/group.zig+2
......@@ -81,7 +81,9 @@ pub fn Group(comptime ReturnType: type) type {
8181}
8282
8383test "std.event.Group" {
84 // https://github.com/ziglang/zig/issues/3563
8485 if (builtin.os == .dragonfly) return error.SkipZigTest;
86
8587 // https://github.com/ziglang/zig/issues/1908
8688 if (builtin.single_threaded) return error.SkipZigTest;
8789
lib/std/event/lock.zig+3
......@@ -116,9 +116,12 @@ pub const Lock = struct {
116116};
117117
118118test "std.event.Lock" {
119 // https://github.com/ziglang/zig/issues/3563
119120 if (builtin.os == .dragonfly) return error.SkipZigTest;
121
120122 // TODO https://github.com/ziglang/zig/issues/1908
121123 if (builtin.single_threaded) return error.SkipZigTest;
124
122125 // TODO https://github.com/ziglang/zig/issues/3251
123126 if (builtin.os == .freebsd) return error.SkipZigTest;
124127
lib/std/mutex.zig+2
......@@ -130,7 +130,9 @@ const TestContext = struct {
130130};
131131
132132test "std.Mutex" {
133 // https://github.com/ziglang/zig/issues/3563
133134 if (builtin.os == .dragonfly) return error.SkipZigTest;
135
134136 var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024);
135137 defer std.heap.direct_allocator.free(plenty_of_memory);
136138
lib/std/os/test.zig+8
......@@ -16,7 +16,9 @@ const AtomicRmwOp = builtin.AtomicRmwOp;
1616const AtomicOrder = builtin.AtomicOrder;
1717
1818test "makePath, put some files in it, deleteTree" {
19 // https://github.com/ziglang/zig/issues/3563
1920 if (builtin.os == .dragonfly) return error.SkipZigTest;
21
2022 try fs.makePath(a, "os_test_tmp" ++ fs.path.sep_str ++ "b" ++ fs.path.sep_str ++ "c");
2123 try io.writeFile("os_test_tmp" ++ fs.path.sep_str ++ "b" ++ fs.path.sep_str ++ "c" ++ fs.path.sep_str ++ "file.txt", "nonsense");
2224 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" {
2931}
3032
3133test "access file" {
34 // https://github.com/ziglang/zig/issues/3563
3235 if (builtin.os == .dragonfly) return error.SkipZigTest;
36
3337 try fs.makePath(a, "os_test_tmp");
3438 if (File.access("os_test_tmp" ++ fs.path.sep_str ++ "file.txt")) |ok| {
3539 @panic("expected error");
......@@ -97,7 +101,9 @@ test "cpu count" {
97101}
98102
99103test "AtomicFile" {
104 // https://github.com/ziglang/zig/issues/3563
100105 if (builtin.os == .dragonfly) return error.SkipZigTest;
106
101107 var buffer: [1024]u8 = undefined;
102108 const allocator = &std.heap.FixedBufferAllocator.init(buffer[0..]).allocator;
103109 const test_out_file = "tmp_atomic_file_test_dest.txt";
......@@ -118,7 +124,9 @@ test "AtomicFile" {
118124}
119125
120126test "thread local storage" {
127 // https://github.com/ziglang/zig/issues/3563
121128 if (builtin.os == .dragonfly) return error.SkipZigTest;
129
122130 if (builtin.single_threaded) return error.SkipZigTest;
123131 const thread1 = try Thread.spawn({}, testTls);
124132 const thread2 = try Thread.spawn({}, testTls);
lib/std/statically_initialized_mutex.zig+2
......@@ -61,7 +61,9 @@ pub const StaticallyInitializedMutex = switch (builtin.os) {
6161};
6262
6363test "std.StaticallyInitializedMutex" {
64 // https://github.com/ziglang/zig/issues/3563
6465 if (builtin.os == .dragonfly) return error.SkipZigTest;
66
6567 const TestContext = struct {
6668 data: i128,
6769
test/stage1/behavior/byteswap.zig+4-2
......@@ -40,9 +40,11 @@ test "@byteSwap integers" {
4040}
4141
4242test "@byteSwap vectors" {
43 // Disabled because of #3317
43 // https://github.com/ziglang/zig/issues/3563
4444 if (builtin.os == .dragonfly) return error.SkipZigTest;
45 if (@import("builtin").arch == .mipsel) return error.SkipZigTest;
45
46 // https://github.com/ziglang/zig/issues/3317
47 if (builtin.arch == .mipsel) return error.SkipZigTest;
4648
4749 const ByteSwapVectorTest = struct {
4850 fn run() void {
test/stage1/behavior/vector.zig+2
......@@ -112,7 +112,9 @@ test "array to vector" {
112112}
113113
114114test "vector casts of sizes not divisable by 8" {
115 // https://github.com/ziglang/zig/issues/3563
115116 if (builtin.os == .dragonfly) return error.SkipZigTest;
117
116118 const S = struct {
117119 fn doTheTest() void {
118120 {