Commit a569c7d664

alexrp <alex@alexrp.com>
2025-09-22 01:34:53
test: disable some stack trace tests on FreeBSD
1 parent b8f2fec
Changed files (2)
test
standalone
stack_iterator
test/standalone/stack_iterator/build.zig
@@ -61,8 +61,12 @@ pub fn build(b: *std.Build) void {
             .use_llvm = true,
         });
 
-        const run_cmd = b.addRunArtifact(exe);
-        test_step.dependOn(&run_cmd.step);
+        if (builtin.os.tag != .freebsd) {
+            const run_cmd = b.addRunArtifact(exe);
+            test_step.dependOn(&run_cmd.step);
+        } else {
+            test_step.dependOn(&exe.step);
+        }
     }
 
     // https://github.com/ziglang/zig/issues/24522
test/stack_traces.zig
@@ -793,6 +793,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
         ,
         .Debug = .{
             .exclude_os = &.{
+                .freebsd,
                 .openbsd, // integer overflow
                 .windows, // TODO intermittent failures
             },
@@ -837,6 +838,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
         },
         .ReleaseSafe = .{
             .exclude_os = &.{
+                .freebsd,
                 .windows, // TODO
                 .linux, // defeated by aggressive inlining
                 .macos, // Broken in LLVM 20.