mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
test: don't run error/stack trace tests on self-hosted on BSDs
See: 0700ec35bda705fccb61cb3f28734ce11166fda5
This commit is contained in:
parent
43806cf0bd
commit
5a71e15f1f
@ -41,7 +41,7 @@ pub fn addCase(self: *ErrorTrace, case: Case) void {
|
||||
fn shouldTestNonLlvm(target: *const std.Target) bool {
|
||||
return switch (target.cpu.arch) {
|
||||
.x86_64 => switch (target.ofmt) {
|
||||
.elf => true,
|
||||
.elf => !target.os.tag.isBSD(),
|
||||
else => false,
|
||||
},
|
||||
else => false,
|
||||
|
||||
@ -46,7 +46,7 @@ fn addCaseTarget(
|
||||
) void {
|
||||
const both_backends = switch (target.result.cpu.arch) {
|
||||
.x86_64 => switch (target.result.ofmt) {
|
||||
.elf => true,
|
||||
.elf => !target.result.os.tag.isBSD(),
|
||||
else => false,
|
||||
},
|
||||
else => false,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user