authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-08-13 11:48:33-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2024-08-13 11:48:33-07:00
log0b5ea2b902b5802786cac70740e93872d2a0973d
tree640122a7fcaf181a2e4e97eadb4968a03a903508
parent76f062690c3373b24170e3e1d7dd62735eb9685e
parent46f64358dd731ad35afe11a6a45df1ad78e6531a
signaturebadge-check Signed by PGP key B5690EEEBB952194

Merge pull request #21053 from alexrp/mips-tests

`test`: Re-enable `mips(el)-linux(-musl)` tests.

3 files changed, 34 insertions(+), 34 deletions(-)

test/behavior/union.zig+1
...@@ -1904,6 +1904,7 @@ test "reinterpret packed union" {...@@ -1904,6 +1904,7 @@ test "reinterpret packed union" {
19041904
1905 if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO1905 if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
1906 if (builtin.cpu.arch.isPowerPC32()) return error.SkipZigTest; // TODO1906 if (builtin.cpu.arch.isPowerPC32()) return error.SkipZigTest; // TODO
1907 if (builtin.cpu.arch.isMIPS()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21050
1907 if (builtin.cpu.arch.isWasm()) return error.SkipZigTest; // TODO1908 if (builtin.cpu.arch.isWasm()) return error.SkipZigTest; // TODO
1908 try S.doTheTest();1909 try S.doTheTest();
1909}1910}
test/behavior/vector.zig+3
...@@ -133,6 +133,9 @@ test "vector float operators" {...@@ -133,6 +133,9 @@ test "vector float operators" {
133 try S.doTheTest(f16);133 try S.doTheTest(f16);
134 try comptime S.doTheTest(f16);134 try comptime S.doTheTest(f16);
135135
136 // https://github.com/llvm/llvm-project/issues/102870
137 if (builtin.cpu.arch.isMIPS()) return error.SkipZigTest;
138
136 try S.doTheTest(f80);139 try S.doTheTest(f80);
137 try comptime S.doTheTest(f80);140 try comptime S.doTheTest(f80);
138141
test/tests.zig+30-34
...@@ -304,24 +304,22 @@ const test_targets = blk: {...@@ -304,24 +304,22 @@ const test_targets = blk: {
304 .link_libc = true,304 .link_libc = true,
305 },305 },
306306
307 // https://github.com/ziglang/zig/issues/16846307 .{
308 //.{308 .target = .{
309 // .target = .{309 .cpu_arch = .mips,
310 // .cpu_arch = .mips,310 .os_tag = .linux,
311 // .os_tag = .linux,311 .abi = .none,
312 // .abi = .none,312 },
313 // },313 },
314 //},
315314
316 // https://github.com/ziglang/zig/issues/16846315 .{
317 //.{316 .target = .{
318 // .target = .{317 .cpu_arch = .mips,
319 // .cpu_arch = .mips,318 .os_tag = .linux,
320 // .os_tag = .linux,319 .abi = .musl,
321 // .abi = .musl,320 },
322 // },321 .link_libc = true,
323 // .link_libc = true,322 },
324 //},
325323
326 // https://github.com/ziglang/zig/issues/4927324 // https://github.com/ziglang/zig/issues/4927
327 //.{325 //.{
...@@ -333,24 +331,22 @@ const test_targets = blk: {...@@ -333,24 +331,22 @@ const test_targets = blk: {
333 // .link_libc = true,331 // .link_libc = true,
334 //},332 //},
335333
336 // https://github.com/ziglang/zig/issues/16846334 .{
337 //.{335 .target = .{
338 // .target = .{336 .cpu_arch = .mipsel,
339 // .cpu_arch = .mipsel,337 .os_tag = .linux,
340 // .os_tag = .linux,338 .abi = .none,
341 // .abi = .none,339 },
342 // },340 },
343 //},
344341
345 // https://github.com/ziglang/zig/issues/16846342 .{
346 //.{343 .target = .{
347 // .target = .{344 .cpu_arch = .mipsel,
348 // .cpu_arch = .mipsel,345 .os_tag = .linux,
349 // .os_tag = .linux,346 .abi = .musl,
350 // .abi = .musl,347 },
351 // },348 .link_libc = true,
352 // .link_libc = true,349 },
353 //},
354350
355 // https://github.com/ziglang/zig/issues/4927351 // https://github.com/ziglang/zig/issues/4927
356 //.{352 //.{