mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
test: disable non-native loongarch64 behavior and std tests
https://github.com/ziglang/zig/issues/24405
This commit is contained in:
parent
61eff7b6dd
commit
f4ed35f800
@ -438,7 +438,7 @@ const test_targets = blk: {
|
|||||||
.os_tag = .linux,
|
.os_tag = .linux,
|
||||||
.abi = .none,
|
.abi = .none,
|
||||||
},
|
},
|
||||||
// https://github.com/ziglang/zig/issues/23696
|
// https://github.com/ziglang/zig/issues/21646
|
||||||
.skip_modules = &.{"std"},
|
.skip_modules = &.{"std"},
|
||||||
},
|
},
|
||||||
.{
|
.{
|
||||||
@ -448,7 +448,7 @@ const test_targets = blk: {
|
|||||||
.abi = .musl,
|
.abi = .musl,
|
||||||
},
|
},
|
||||||
.link_libc = true,
|
.link_libc = true,
|
||||||
// https://github.com/ziglang/zig/issues/23696
|
// https://github.com/ziglang/zig/issues/21646
|
||||||
.skip_modules = &.{"std"},
|
.skip_modules = &.{"std"},
|
||||||
},
|
},
|
||||||
.{
|
.{
|
||||||
@ -459,7 +459,7 @@ const test_targets = blk: {
|
|||||||
},
|
},
|
||||||
.linkage = .dynamic,
|
.linkage = .dynamic,
|
||||||
.link_libc = true,
|
.link_libc = true,
|
||||||
// https://github.com/ziglang/zig/issues/23696
|
// https://github.com/ziglang/zig/issues/21646
|
||||||
.skip_modules = &.{"std"},
|
.skip_modules = &.{"std"},
|
||||||
.extra_target = true,
|
.extra_target = true,
|
||||||
},
|
},
|
||||||
@ -470,7 +470,7 @@ const test_targets = blk: {
|
|||||||
.abi = .gnu,
|
.abi = .gnu,
|
||||||
},
|
},
|
||||||
.link_libc = true,
|
.link_libc = true,
|
||||||
// https://github.com/ziglang/zig/issues/23696
|
// https://github.com/ziglang/zig/issues/21646
|
||||||
.skip_modules = &.{"std"},
|
.skip_modules = &.{"std"},
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -2369,6 +2369,11 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
|
|||||||
if (options.skip_single_threaded and test_target.single_threaded == true)
|
if (options.skip_single_threaded and test_target.single_threaded == true)
|
||||||
continue;
|
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.
|
// TODO get compiler-rt tests passing for self-hosted backends.
|
||||||
if ((target.cpu.arch != .x86_64 or target.ofmt != .elf) and
|
if ((target.cpu.arch != .x86_64 or target.ofmt != .elf) and
|
||||||
test_target.use_llvm == false and mem.eql(u8, options.name, "compiler-rt"))
|
test_target.use_llvm == false and mem.eql(u8, options.name, "compiler-rt"))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user