mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
test: disable some stack trace tests on FreeBSD
This commit is contained in:
parent
b2d2b441b2
commit
b3432c2796
2 changed files with 8 additions and 2 deletions
|
|
@ -803,6 +803,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
|
|||
.s390x,
|
||||
},
|
||||
.exclude_os = &.{
|
||||
.freebsd,
|
||||
.openbsd, // integer overflow
|
||||
.windows, // TODO intermittent failures
|
||||
},
|
||||
|
|
@ -847,6 +848,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
|
|||
},
|
||||
.ReleaseSafe = .{
|
||||
.exclude_os = &.{
|
||||
.freebsd,
|
||||
.windows, // TODO
|
||||
.linux, // defeated by aggressive inlining
|
||||
.macos, // Broken in LLVM 20.
|
||||
|
|
|
|||
|
|
@ -61,8 +61,12 @@ pub fn build(b: *std.Build) void {
|
|||
.use_llvm = true,
|
||||
});
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue