Merge pull request #21053 from alexrp/mips-tests

`test`: Re-enable `mips(el)-linux(-musl)` tests.
This commit is contained in:
Andrew Kelley 2024-08-13 11:48:33 -07:00 committed by GitHub
commit 0b5ea2b902
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 34 additions and 34 deletions

View File

@ -1904,6 +1904,7 @@ test "reinterpret packed union" {
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
if (builtin.cpu.arch.isPowerPC32()) return error.SkipZigTest; // TODO if (builtin.cpu.arch.isPowerPC32()) return error.SkipZigTest; // TODO
if (builtin.cpu.arch.isMIPS()) return error.SkipZigTest; // https://github.com/ziglang/zig/issues/21050
if (builtin.cpu.arch.isWasm()) return error.SkipZigTest; // TODO if (builtin.cpu.arch.isWasm()) return error.SkipZigTest; // TODO
try S.doTheTest(); try S.doTheTest();
} }

View File

@ -133,6 +133,9 @@ test "vector float operators" {
try S.doTheTest(f16); try S.doTheTest(f16);
try comptime S.doTheTest(f16); try comptime S.doTheTest(f16);
// https://github.com/llvm/llvm-project/issues/102870
if (builtin.cpu.arch.isMIPS()) return error.SkipZigTest;
try S.doTheTest(f80); try S.doTheTest(f80);
try comptime S.doTheTest(f80); try comptime S.doTheTest(f80);

View File

@ -304,24 +304,22 @@ const test_targets = blk: {
.link_libc = true, .link_libc = true,
}, },
// https://github.com/ziglang/zig/issues/16846 .{
//.{ .target = .{
// .target = .{ .cpu_arch = .mips,
// .cpu_arch = .mips, .os_tag = .linux,
// .os_tag = .linux, .abi = .none,
// .abi = .none, },
// }, },
//},
// https://github.com/ziglang/zig/issues/16846 .{
//.{ .target = .{
// .target = .{ .cpu_arch = .mips,
// .cpu_arch = .mips, .os_tag = .linux,
// .os_tag = .linux, .abi = .musl,
// .abi = .musl, },
// }, .link_libc = true,
// .link_libc = true, },
//},
// https://github.com/ziglang/zig/issues/4927 // https://github.com/ziglang/zig/issues/4927
//.{ //.{
@ -333,24 +331,22 @@ const test_targets = blk: {
// .link_libc = true, // .link_libc = true,
//}, //},
// https://github.com/ziglang/zig/issues/16846 .{
//.{ .target = .{
// .target = .{ .cpu_arch = .mipsel,
// .cpu_arch = .mipsel, .os_tag = .linux,
// .os_tag = .linux, .abi = .none,
// .abi = .none, },
// }, },
//},
// https://github.com/ziglang/zig/issues/16846 .{
//.{ .target = .{
// .target = .{ .cpu_arch = .mipsel,
// .cpu_arch = .mipsel, .os_tag = .linux,
// .os_tag = .linux, .abi = .musl,
// .abi = .musl, },
// }, .link_libc = true,
// .link_libc = true, },
//},
// https://github.com/ziglang/zig/issues/4927 // https://github.com/ziglang/zig/issues/4927
//.{ //.{