mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
test: disable some stack trace tests on FreeBSD
This commit is contained in:
parent
b8f2fec0f2
commit
a569c7d664
@ -793,6 +793,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
|
|||||||
,
|
,
|
||||||
.Debug = .{
|
.Debug = .{
|
||||||
.exclude_os = &.{
|
.exclude_os = &.{
|
||||||
|
.freebsd,
|
||||||
.openbsd, // integer overflow
|
.openbsd, // integer overflow
|
||||||
.windows, // TODO intermittent failures
|
.windows, // TODO intermittent failures
|
||||||
},
|
},
|
||||||
@ -837,6 +838,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
|
|||||||
},
|
},
|
||||||
.ReleaseSafe = .{
|
.ReleaseSafe = .{
|
||||||
.exclude_os = &.{
|
.exclude_os = &.{
|
||||||
|
.freebsd,
|
||||||
.windows, // TODO
|
.windows, // TODO
|
||||||
.linux, // defeated by aggressive inlining
|
.linux, // defeated by aggressive inlining
|
||||||
.macos, // Broken in LLVM 20.
|
.macos, // Broken in LLVM 20.
|
||||||
|
|||||||
@ -61,8 +61,12 @@ pub fn build(b: *std.Build) void {
|
|||||||
.use_llvm = true,
|
.use_llvm = true,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (builtin.os.tag != .freebsd) {
|
||||||
const run_cmd = b.addRunArtifact(exe);
|
const run_cmd = b.addRunArtifact(exe);
|
||||||
test_step.dependOn(&run_cmd.step);
|
test_step.dependOn(&run_cmd.step);
|
||||||
|
} else {
|
||||||
|
test_step.dependOn(&exe.step);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// https://github.com/ziglang/zig/issues/24522
|
// https://github.com/ziglang/zig/issues/24522
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user