| ... | @@ -12,6 +12,8 @@ const expectEqualStrings = std.testing.expectEqualStrings; | ... | @@ -12,6 +12,8 @@ const expectEqualStrings = std.testing.expectEqualStrings; |
| 12 | const expectError = std.testing.expectError; | 12 | const expectError = std.testing.expectError; |
| 13 | | 13 | |
| 14 | test "trailers" { | 14 | test "trailers" { |
| | 15 | if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 |
| | 16 | |
| 15 | const io = std.testing.io; | 17 | const io = std.testing.io; |
| 16 | const test_server = try createTestServer(io, struct { | 18 | const test_server = try createTestServer(io, struct { |
| 17 | fn run(test_server: *TestServer) anyerror!void { | 19 | fn run(test_server: *TestServer) anyerror!void { |
| ... | @@ -96,6 +98,8 @@ test "trailers" { | ... | @@ -96,6 +98,8 @@ test "trailers" { |
| 96 | } | 98 | } |
| 97 | | 99 | |
| 98 | test "HTTP server handles a chunked transfer coding request" { | 100 | test "HTTP server handles a chunked transfer coding request" { |
| | 101 | if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 |
| | 102 | |
| 99 | const io = std.testing.io; | 103 | const io = std.testing.io; |
| 100 | const test_server = try createTestServer(io, struct { | 104 | const test_server = try createTestServer(io, struct { |
| 101 | fn run(test_server: *TestServer) anyerror!void { | 105 | fn run(test_server: *TestServer) anyerror!void { |
| ... | @@ -162,6 +166,8 @@ test "HTTP server handles a chunked transfer coding request" { | ... | @@ -162,6 +166,8 @@ test "HTTP server handles a chunked transfer coding request" { |
| 162 | } | 166 | } |
| 163 | | 167 | |
| 164 | test "echo content server" { | 168 | test "echo content server" { |
| | 169 | if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 |
| | 170 | |
| 165 | const io = std.testing.io; | 171 | const io = std.testing.io; |
| 166 | const test_server = try createTestServer(io, struct { | 172 | const test_server = try createTestServer(io, struct { |
| 167 | fn run(test_server: *TestServer) anyerror!void { | 173 | fn run(test_server: *TestServer) anyerror!void { |
| ... | @@ -250,6 +256,8 @@ test "echo content server" { | ... | @@ -250,6 +256,8 @@ test "echo content server" { |
| 250 | } | 256 | } |
| 251 | | 257 | |
| 252 | test "Server.Request.respondStreaming non-chunked, unknown content-length" { | 258 | test "Server.Request.respondStreaming non-chunked, unknown content-length" { |
| | 259 | if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 |
| | 260 | |
| 253 | const io = std.testing.io; | 261 | const io = std.testing.io; |
| 254 | | 262 | |
| 255 | if (builtin.os.tag == .windows) { | 263 | if (builtin.os.tag == .windows) { |
| ... | @@ -326,6 +334,8 @@ test "Server.Request.respondStreaming non-chunked, unknown content-length" { | ... | @@ -326,6 +334,8 @@ test "Server.Request.respondStreaming non-chunked, unknown content-length" { |
| 326 | } | 334 | } |
| 327 | | 335 | |
| 328 | test "receiving arbitrary http headers from the client" { | 336 | test "receiving arbitrary http headers from the client" { |
| | 337 | if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 |
| | 338 | |
| 329 | const io = std.testing.io; | 339 | const io = std.testing.io; |
| 330 | | 340 | |
| 331 | const test_server = try createTestServer(io, struct { | 341 | const test_server = try createTestServer(io, struct { |
| ... | @@ -389,6 +399,8 @@ test "receiving arbitrary http headers from the client" { | ... | @@ -389,6 +399,8 @@ test "receiving arbitrary http headers from the client" { |
| 389 | } | 399 | } |
| 390 | | 400 | |
| 391 | test "general client/server API coverage" { | 401 | test "general client/server API coverage" { |
| | 402 | if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 |
| | 403 | |
| 392 | const io = std.testing.io; | 404 | const io = std.testing.io; |
| 393 | | 405 | |
| 394 | if (builtin.os.tag == .windows) { | 406 | if (builtin.os.tag == .windows) { |
| ... | @@ -882,6 +894,8 @@ test "general client/server API coverage" { | ... | @@ -882,6 +894,8 @@ test "general client/server API coverage" { |
| 882 | } | 894 | } |
| 883 | | 895 | |
| 884 | test "Server streams both reading and writing" { | 896 | test "Server streams both reading and writing" { |
| | 897 | if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 |
| | 898 | |
| 885 | const io = std.testing.io; | 899 | const io = std.testing.io; |
| 886 | | 900 | |
| 887 | const test_server = try createTestServer(io, struct { | 901 | const test_server = try createTestServer(io, struct { |
| ... | @@ -1136,6 +1150,8 @@ fn createTestServer(io: Io, S: type) !*TestServer { | ... | @@ -1136,6 +1150,8 @@ fn createTestServer(io: Io, S: type) !*TestServer { |
| 1136 | } | 1150 | } |
| 1137 | | 1151 | |
| 1138 | test "redirect to different connection" { | 1152 | test "redirect to different connection" { |
| | 1153 | if (builtin.cpu.arch.isPowerPC64() and builtin.mode != .Debug) return error.SkipZigTest; // https://github.com/llvm/llvm-project/issues/171879 |
| | 1154 | |
| 1139 | const io = std.testing.io; | 1155 | const io = std.testing.io; |
| 1140 | const test_server_new = try createTestServer(io, struct { | 1156 | const test_server_new = try createTestServer(io, struct { |
| 1141 | fn run(test_server: *TestServer) anyerror!void { | 1157 | fn run(test_server: *TestServer) anyerror!void { |