authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-22 01:34:53+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-22 01:37:32+02:00
logb3432c2796979c4a0e137153414df61282b5626a
treeb6d34276e94fe41075d0da418891bd6aeb5d61f6
parentb2d2b441b2cbf15a01ca386b0df5c2103c1be24b
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

test: disable some stack trace tests on FreeBSD


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

test/stack_traces.zig+2
......@@ -803,6 +803,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
803803 .s390x,
804804 },
805805 .exclude_os = &.{
806 .freebsd,
806807 .openbsd, // integer overflow
807808 .windows, // TODO intermittent failures
808809 },
......@@ -847,6 +848,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
847848 },
848849 .ReleaseSafe = .{
849850 .exclude_os = &.{
851 .freebsd,
850852 .windows, // TODO
851853 .linux, // defeated by aggressive inlining
852854 .macos, // Broken in LLVM 20.
test/standalone/stack_iterator/build.zig+6-2
......@@ -61,8 +61,12 @@ pub fn build(b: *std.Build) void {
6161 .use_llvm = true,
6262 });
6363
64 const run_cmd = b.addRunArtifact(exe);
65 test_step.dependOn(&run_cmd.step);
64 if (builtin.os.tag != .freebsd) {
65 const run_cmd = b.addRunArtifact(exe);
66 test_step.dependOn(&run_cmd.step);
67 } else {
68 test_step.dependOn(&exe.step);
69 }
6670 }
6771
6872 // https://github.com/ziglang/zig/issues/24522