| ... | ... | @@ -12,6 +12,8 @@ const expectEqualStrings = std.testing.expectEqualStrings; |
| 12 | 12 | const expectError = std.testing.expectError; |
| 13 | 13 | |
| 14 | 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 | 17 | const io = std.testing.io; |
| 16 | 18 | const test_server = try createTestServer(io, struct { |
| 17 | 19 | fn run(test_server: *TestServer) anyerror!void { |
| ... | ... | @@ -96,6 +98,8 @@ test "trailers" { |
| 96 | 98 | } |
| 97 | 99 | |
| 98 | 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 | 103 | const io = std.testing.io; |
| 100 | 104 | const test_server = try createTestServer(io, struct { |
| 101 | 105 | fn run(test_server: *TestServer) anyerror!void { |
| ... | ... | @@ -162,6 +166,8 @@ test "HTTP server handles a chunked transfer coding request" { |
| 162 | 166 | } |
| 163 | 167 | |
| 164 | 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 | 171 | const io = std.testing.io; |
| 166 | 172 | const test_server = try createTestServer(io, struct { |
| 167 | 173 | fn run(test_server: *TestServer) anyerror!void { |
| ... | ... | @@ -250,6 +256,8 @@ test "echo content server" { |
| 250 | 256 | } |
| 251 | 257 | |
| 252 | 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 | 261 | const io = std.testing.io; |
| 254 | 262 | |
| 255 | 263 | if (builtin.os.tag == .windows) { |
| ... | ... | @@ -326,6 +334,8 @@ test "Server.Request.respondStreaming non-chunked, unknown content-length" { |
| 326 | 334 | } |
| 327 | 335 | |
| 328 | 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 | 339 | const io = std.testing.io; |
| 330 | 340 | |
| 331 | 341 | const test_server = try createTestServer(io, struct { |
| ... | ... | @@ -389,6 +399,8 @@ test "receiving arbitrary http headers from the client" { |
| 389 | 399 | } |
| 390 | 400 | |
| 391 | 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 | 404 | const io = std.testing.io; |
| 393 | 405 | |
| 394 | 406 | if (builtin.os.tag == .windows) { |
| ... | ... | @@ -882,6 +894,8 @@ test "general client/server API coverage" { |
| 882 | 894 | } |
| 883 | 895 | |
| 884 | 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 | 899 | const io = std.testing.io; |
| 886 | 900 | |
| 887 | 901 | const test_server = try createTestServer(io, struct { |
| ... | ... | @@ -1136,6 +1150,8 @@ fn createTestServer(io: Io, S: type) !*TestServer { |
| 1136 | 1150 | } |
| 1137 | 1151 | |
| 1138 | 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 | 1155 | const io = std.testing.io; |
| 1140 | 1156 | const test_server_new = try createTestServer(io, struct { |
| 1141 | 1157 | fn run(test_server: *TestServer) anyerror!void { |