Skip to content

Commit

Permalink
std: disable failing test on macos
Browse files Browse the repository at this point in the history
See tracking issue #18395
  • Loading branch information
andrewrk committed Jan 2, 2024
1 parent a6c8d56 commit 2cbf745
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/std/os/test.zig
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,11 @@ test "fsync" {
}

test "getrlimit and setrlimit" {
if (builtin.target.os.tag == .macos) {
// https://github.com/ziglang/zig/issues/18395
return error.SkipZigTest;
}

if (!@hasDecl(os.system, "rlimit")) {
return error.SkipZigTest;
}
Expand Down

0 comments on commit 2cbf745

Please sign in to comment.