mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
Merge pull request #21053 from alexrp/mips-tests
`test`: Re-enable `mips(el)-linux(-musl)` tests.
This commit is contained in:
commit
0b5ea2b902
@ -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();
|
||||
}
|
||||
|
||||
@ -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);
|
||||
|
||||
|
||||
@ -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
|
||||
//.{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user