test: disable some stack trace tests on FreeBSD

This commit is contained in:
alexrp
2025-09-22 01:34:53 +02:00
committed by Alex Rønne Petersen
parent b8f2fec0f2
commit a569c7d664
2 changed files with 8 additions and 2 deletions

View File

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