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.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
try S.doTheTest();
}

View File

@ -133,6 +133,9 @@ test "vector float operators" {
try 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 comptime S.doTheTest(f80);

View File

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