zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 0b5ea2b902b5802786cac70740e93872d2a0973d (tree)
parent 76f062690c3373b24170e3e1d7dd62735eb9685e
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Tue, 13 Aug 2024 11:48:33 -0700

Merge pull request #21053 from alexrp/mips-tests

`test`: Re-enable `mips(el)-linux(-musl)` tests.
Diffstat:
Mtest/behavior/union.zig | 1+
Mtest/behavior/vector.zig | 3+++
Mtest/tests.zig | 64++++++++++++++++++++++++++++++----------------------------------
3 files changed, 34 insertions(+), 34 deletions(-)

diff --git a/test/behavior/union.zig b/test/behavior/union.zig @@ -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(); } diff --git a/test/behavior/vector.zig b/test/behavior/vector.zig @@ -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); diff --git a/test/tests.zig b/test/tests.zig @@ -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 //.{