test: don't run error/stack trace tests on self-hosted on BSDs

See: 0700ec35bda705fccb61cb3f28734ce11166fda5
This commit is contained in:
Alex Rønne Petersen 2025-10-01 01:02:03 +02:00
parent 43806cf0bd
commit 5a71e15f1f
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,