Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions test/tests.zig
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ const test_targets = blk: {
.os_tag = .linux,
.abi = .none,
},
// https://github.com/ziglang/zig/issues/23696
// https://github.com/ziglang/zig/issues/21646
.skip_modules = &.{"std"},
},
.{
Expand All @@ -448,7 +448,7 @@ const test_targets = blk: {
.abi = .musl,
},
.link_libc = true,
// https://github.com/ziglang/zig/issues/23696
// https://github.com/ziglang/zig/issues/21646
.skip_modules = &.{"std"},
},
.{
Expand All @@ -459,7 +459,7 @@ const test_targets = blk: {
},
.linkage = .dynamic,
.link_libc = true,
// https://github.com/ziglang/zig/issues/23696
// https://github.com/ziglang/zig/issues/21646
.skip_modules = &.{"std"},
.extra_target = true,
},
Expand All @@ -470,7 +470,7 @@ const test_targets = blk: {
.abi = .gnu,
},
.link_libc = true,
// https://github.com/ziglang/zig/issues/23696
// https://github.com/ziglang/zig/issues/21646
.skip_modules = &.{"std"},
},

Expand Down Expand Up @@ -2369,6 +2369,11 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
if (options.skip_single_threaded and test_target.single_threaded == true)
continue;

// https://github.com/ziglang/zig/issues/24405
if (!builtin.cpu.arch.isLoongArch() and target.cpu.arch.isLoongArch() and
(mem.eql(u8, options.name, "behavior") or mem.eql(u8, options.name, "std")))
continue;

// TODO get compiler-rt tests passing for self-hosted backends.
if ((target.cpu.arch != .x86_64 or target.ofmt != .elf) and
test_target.use_llvm == false and mem.eql(u8, options.name, "compiler-rt"))
Expand Down