authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-10-01 01:02:03+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-10-01 01:06:10+02:00
log5a71e15f1f5c641ca8ecf9418d0e168e0ac0b2ce
tree15ca43a7a4b3510e391645e6c173ca18a5477094
parent43806cf0bd786827367ed3c2680ffee2e9ad4ded
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

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

See: 0700ec35bda705fccb61cb3f28734ce11166fda5

2 files changed, 2 insertions(+), 2 deletions(-)

test/src/ErrorTrace.zig+1-1
...@@ -41,7 +41,7 @@ pub fn addCase(self: *ErrorTrace, case: Case) void {...@@ -41,7 +41,7 @@ pub fn addCase(self: *ErrorTrace, case: Case) void {
41fn shouldTestNonLlvm(target: *const std.Target) bool {41fn shouldTestNonLlvm(target: *const std.Target) bool {
42 return switch (target.cpu.arch) {42 return switch (target.cpu.arch) {
43 .x86_64 => switch (target.ofmt) {43 .x86_64 => switch (target.ofmt) {
44 .elf => true,44 .elf => !target.os.tag.isBSD(),
45 else => false,45 else => false,
46 },46 },
47 else => false,47 else => false,
test/src/StackTrace.zig+1-1
...@@ -46,7 +46,7 @@ fn addCaseTarget(...@@ -46,7 +46,7 @@ fn addCaseTarget(
46) void {46) void {
47 const both_backends = switch (target.result.cpu.arch) {47 const both_backends = switch (target.result.cpu.arch) {
48 .x86_64 => switch (target.result.ofmt) {48 .x86_64 => switch (target.result.ofmt) {
49 .elf => true,49 .elf => !target.result.os.tag.isBSD(),
50 else => false,50 else => false,
51 },51 },
52 else => false,52 else => false,