| author | |
| committer | |
| log | 6a15e8a7a771bcbf2534cceecd77231344aafbf8 |
| tree | 4b9f34412be146d95976e9427a8f898be8613a0b |
| parent | 33cc2044811e41a74e3112fc0abcc5dc6fd34836 |
| signature |
10 files changed, 30 insertions(+), 2 deletions(-)
lib/std/atomic/queue.zig+2| ... | @@ -152,7 +152,9 @@ const puts_per_thread = 500; | ... | @@ -152,7 +152,9 @@ const puts_per_thread = 500; |
| 152 | const put_thread_count = 3; | 152 | const put_thread_count = 3; |
| 153 | 153 | ||
| 154 | test "std.atomic.Queue" { | 154 | test "std.atomic.Queue" { |
| 155 | // https://github.com/ziglang/zig/issues/3563 | ||
| 155 | if (builtin.os == .dragonfly) return error.SkipZigTest; | 156 | if (builtin.os == .dragonfly) return error.SkipZigTest; |
| 157 | |||
| 156 | var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024); | 158 | var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024); |
| 157 | defer std.heap.direct_allocator.free(plenty_of_memory); | 159 | defer std.heap.direct_allocator.free(plenty_of_memory); |
| 158 | 160 |
lib/std/atomic/stack.zig+2| ... | @@ -86,7 +86,9 @@ const puts_per_thread = 500; | ... | @@ -86,7 +86,9 @@ const puts_per_thread = 500; |
| 86 | const put_thread_count = 3; | 86 | const put_thread_count = 3; |
| 87 | 87 | ||
| 88 | test "std.atomic.stack" { | 88 | test "std.atomic.stack" { |
| 89 | // https://github.com/ziglang/zig/issues/3563 | ||
| 89 | if (builtin.os == .dragonfly) return error.SkipZigTest; | 90 | if (builtin.os == .dragonfly) return error.SkipZigTest; |
| 91 | |||
| 90 | var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024); | 92 | var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024); |
| 91 | defer std.heap.direct_allocator.free(plenty_of_memory); | 93 | defer std.heap.direct_allocator.free(plenty_of_memory); |
| 92 | 94 |
lib/std/event/channel.zig+3| ... | @@ -304,9 +304,12 @@ pub fn Channel(comptime T: type) type { | ... | @@ -304,9 +304,12 @@ pub fn Channel(comptime T: type) type { |
| 304 | } | 304 | } |
| 305 | 305 | ||
| 306 | test "std.event.Channel" { | 306 | test "std.event.Channel" { |
| 307 | // https://github.com/ziglang/zig/issues/3563 | ||
| 307 | if (builtin.os == .dragonfly) return error.SkipZigTest; | 308 | if (builtin.os == .dragonfly) return error.SkipZigTest; |
| 309 | |||
| 308 | // https://github.com/ziglang/zig/issues/1908 | 310 | // https://github.com/ziglang/zig/issues/1908 |
| 309 | if (builtin.single_threaded) return error.SkipZigTest; | 311 | if (builtin.single_threaded) return error.SkipZigTest; |
| 312 | |||
| 310 | // https://github.com/ziglang/zig/issues/3251 | 313 | // https://github.com/ziglang/zig/issues/3251 |
| 311 | if (builtin.os == .freebsd) return error.SkipZigTest; | 314 | if (builtin.os == .freebsd) return error.SkipZigTest; |
| 312 | 315 |
lib/std/event/group.zig+2| ... | @@ -81,7 +81,9 @@ pub fn Group(comptime ReturnType: type) type { | ... | @@ -81,7 +81,9 @@ pub fn Group(comptime ReturnType: type) type { |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | test "std.event.Group" { | 83 | test "std.event.Group" { |
| 84 | // https://github.com/ziglang/zig/issues/3563 | ||
| 84 | if (builtin.os == .dragonfly) return error.SkipZigTest; | 85 | if (builtin.os == .dragonfly) return error.SkipZigTest; |
| 86 | |||
| 85 | // https://github.com/ziglang/zig/issues/1908 | 87 | // https://github.com/ziglang/zig/issues/1908 |
| 86 | if (builtin.single_threaded) return error.SkipZigTest; | 88 | if (builtin.single_threaded) return error.SkipZigTest; |
| 87 | 89 |
lib/std/event/lock.zig+3| ... | @@ -116,9 +116,12 @@ pub const Lock = struct { | ... | @@ -116,9 +116,12 @@ pub const Lock = struct { |
| 116 | }; | 116 | }; |
| 117 | 117 | ||
| 118 | test "std.event.Lock" { | 118 | test "std.event.Lock" { |
| 119 | // https://github.com/ziglang/zig/issues/3563 | ||
| 119 | if (builtin.os == .dragonfly) return error.SkipZigTest; | 120 | if (builtin.os == .dragonfly) return error.SkipZigTest; |
| 121 | |||
| 120 | // TODO https://github.com/ziglang/zig/issues/1908 | 122 | // TODO https://github.com/ziglang/zig/issues/1908 |
| 121 | if (builtin.single_threaded) return error.SkipZigTest; | 123 | if (builtin.single_threaded) return error.SkipZigTest; |
| 124 | |||
| 122 | // TODO https://github.com/ziglang/zig/issues/3251 | 125 | // TODO https://github.com/ziglang/zig/issues/3251 |
| 123 | if (builtin.os == .freebsd) return error.SkipZigTest; | 126 | if (builtin.os == .freebsd) return error.SkipZigTest; |
| 124 | 127 |
lib/std/mutex.zig+2| ... | @@ -130,7 +130,9 @@ const TestContext = struct { | ... | @@ -130,7 +130,9 @@ const TestContext = struct { |
| 130 | }; | 130 | }; |
| 131 | 131 | ||
| 132 | test "std.Mutex" { | 132 | test "std.Mutex" { |
| 133 | // https://github.com/ziglang/zig/issues/3563 | ||
| 133 | if (builtin.os == .dragonfly) return error.SkipZigTest; | 134 | if (builtin.os == .dragonfly) return error.SkipZigTest; |
| 135 | |||
| 134 | var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024); | 136 | var plenty_of_memory = try std.heap.direct_allocator.alloc(u8, 300 * 1024); |
| 135 | defer std.heap.direct_allocator.free(plenty_of_memory); | 137 | defer std.heap.direct_allocator.free(plenty_of_memory); |
| 136 | 138 |
lib/std/os/test.zig+8| ... | @@ -16,7 +16,9 @@ const AtomicRmwOp = builtin.AtomicRmwOp; | ... | @@ -16,7 +16,9 @@ const AtomicRmwOp = builtin.AtomicRmwOp; |
| 16 | const AtomicOrder = builtin.AtomicOrder; | 16 | const AtomicOrder = builtin.AtomicOrder; |
| 17 | 17 | ||
| 18 | test "makePath, put some files in it, deleteTree" { | 18 | test "makePath, put some files in it, deleteTree" { |
| 19 | // https://github.com/ziglang/zig/issues/3563 | ||
| 19 | if (builtin.os == .dragonfly) return error.SkipZigTest; | 20 | if (builtin.os == .dragonfly) return error.SkipZigTest; |
| 21 | |||
| 20 | try fs.makePath(a, "os_test_tmp" ++ fs.path.sep_str ++ "b" ++ fs.path.sep_str ++ "c"); | 22 | try fs.makePath(a, "os_test_tmp" ++ fs.path.sep_str ++ "b" ++ fs.path.sep_str ++ "c"); |
| 21 | try io.writeFile("os_test_tmp" ++ fs.path.sep_str ++ "b" ++ fs.path.sep_str ++ "c" ++ fs.path.sep_str ++ "file.txt", "nonsense"); | 23 | try io.writeFile("os_test_tmp" ++ fs.path.sep_str ++ "b" ++ fs.path.sep_str ++ "c" ++ fs.path.sep_str ++ "file.txt", "nonsense"); |
| 22 | try io.writeFile("os_test_tmp" ++ fs.path.sep_str ++ "b" ++ fs.path.sep_str ++ "file2.txt", "blah"); | 24 | 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" { | ... | @@ -29,7 +31,9 @@ test "makePath, put some files in it, deleteTree" { |
| 29 | } | 31 | } |
| 30 | 32 | ||
| 31 | test "access file" { | 33 | test "access file" { |
| 34 | // https://github.com/ziglang/zig/issues/3563 | ||
| 32 | if (builtin.os == .dragonfly) return error.SkipZigTest; | 35 | if (builtin.os == .dragonfly) return error.SkipZigTest; |
| 36 | |||
| 33 | try fs.makePath(a, "os_test_tmp"); | 37 | try fs.makePath(a, "os_test_tmp"); |
| 34 | if (File.access("os_test_tmp" ++ fs.path.sep_str ++ "file.txt")) |ok| { | 38 | if (File.access("os_test_tmp" ++ fs.path.sep_str ++ "file.txt")) |ok| { |
| 35 | @panic("expected error"); | 39 | @panic("expected error"); |
| ... | @@ -97,7 +101,9 @@ test "cpu count" { | ... | @@ -97,7 +101,9 @@ test "cpu count" { |
| 97 | } | 101 | } |
| 98 | 102 | ||
| 99 | test "AtomicFile" { | 103 | test "AtomicFile" { |
| 104 | // https://github.com/ziglang/zig/issues/3563 | ||
| 100 | if (builtin.os == .dragonfly) return error.SkipZigTest; | 105 | if (builtin.os == .dragonfly) return error.SkipZigTest; |
| 106 | |||
| 101 | var buffer: [1024]u8 = undefined; | 107 | var buffer: [1024]u8 = undefined; |
| 102 | const allocator = &std.heap.FixedBufferAllocator.init(buffer[0..]).allocator; | 108 | const allocator = &std.heap.FixedBufferAllocator.init(buffer[0..]).allocator; |
| 103 | const test_out_file = "tmp_atomic_file_test_dest.txt"; | 109 | const test_out_file = "tmp_atomic_file_test_dest.txt"; |
| ... | @@ -118,7 +124,9 @@ test "AtomicFile" { | ... | @@ -118,7 +124,9 @@ test "AtomicFile" { |
| 118 | } | 124 | } |
| 119 | 125 | ||
| 120 | test "thread local storage" { | 126 | test "thread local storage" { |
| 127 | // https://github.com/ziglang/zig/issues/3563 | ||
| 121 | if (builtin.os == .dragonfly) return error.SkipZigTest; | 128 | if (builtin.os == .dragonfly) return error.SkipZigTest; |
| 129 | |||
| 122 | if (builtin.single_threaded) return error.SkipZigTest; | 130 | if (builtin.single_threaded) return error.SkipZigTest; |
| 123 | const thread1 = try Thread.spawn({}, testTls); | 131 | const thread1 = try Thread.spawn({}, testTls); |
| 124 | const thread2 = try Thread.spawn({}, testTls); | 132 | const thread2 = try Thread.spawn({}, testTls); |
lib/std/statically_initialized_mutex.zig+2| ... | @@ -61,7 +61,9 @@ pub const StaticallyInitializedMutex = switch (builtin.os) { | ... | @@ -61,7 +61,9 @@ pub const StaticallyInitializedMutex = switch (builtin.os) { |
| 61 | }; | 61 | }; |
| 62 | 62 | ||
| 63 | test "std.StaticallyInitializedMutex" { | 63 | test "std.StaticallyInitializedMutex" { |
| 64 | // https://github.com/ziglang/zig/issues/3563 | ||
| 64 | if (builtin.os == .dragonfly) return error.SkipZigTest; | 65 | if (builtin.os == .dragonfly) return error.SkipZigTest; |
| 66 | |||
| 65 | const TestContext = struct { | 67 | const TestContext = struct { |
| 66 | data: i128, | 68 | data: i128, |
| 67 | 69 |
test/stage1/behavior/byteswap.zig+4-2| ... | @@ -40,9 +40,11 @@ test "@byteSwap integers" { | ... | @@ -40,9 +40,11 @@ test "@byteSwap integers" { |
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | test "@byteSwap vectors" { | 42 | test "@byteSwap vectors" { |
| 43 | // Disabled because of #3317 | 43 | // https://github.com/ziglang/zig/issues/3563 |
| 44 | if (builtin.os == .dragonfly) return error.SkipZigTest; | 44 | 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; | ||
| 46 | 48 | ||
| 47 | const ByteSwapVectorTest = struct { | 49 | const ByteSwapVectorTest = struct { |
| 48 | fn run() void { | 50 | fn run() void { |
test/stage1/behavior/vector.zig+2| ... | @@ -112,7 +112,9 @@ test "array to vector" { | ... | @@ -112,7 +112,9 @@ test "array to vector" { |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | test "vector casts of sizes not divisable by 8" { | 114 | test "vector casts of sizes not divisable by 8" { |
| 115 | // https://github.com/ziglang/zig/issues/3563 | ||
| 115 | if (builtin.os == .dragonfly) return error.SkipZigTest; | 116 | if (builtin.os == .dragonfly) return error.SkipZigTest; |
| 117 | |||
| 116 | const S = struct { | 118 | const S = struct { |
| 117 | fn doTheTest() void { | 119 | fn doTheTest() void { |
| 118 | { | 120 | { |