Skip to content

Commit

Permalink
Merge pull request #21053 from alexrp/mips-tests
Browse files Browse the repository at this point in the history
`test`: Re-enable `mips(el)-linux(-musl)` tests.
  • Loading branch information
andrewrk authored Aug 13, 2024
2 parents 76f0626 + 46f6435 commit 0b5ea2b
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 34 deletions.
1 change: 1 addition & 0 deletions test/behavior/union.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down
3 changes: 3 additions & 0 deletions test/behavior/vector.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
64 changes: 30 additions & 34 deletions test/tests.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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
//.{
Expand All @@ -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
//.{
Expand Down

0 comments on commit 0b5ea2b

Please sign in to comment.