Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #14091 and #14093 - test failures on NetBSD #14096

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions testament/specs.nim
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ proc parseSpec*(filename: string): TSpec =
when defined(arm64): result.err = reDisabled
of "openbsd":
when defined(openbsd): result.err = reDisabled
of "netbsd":
when defined(netbsd): result.err = reDisabled
else:
result.parseErrors.addLine "cannot interpret as a bool: ", e.value
of "cmd":
Expand Down
1 change: 1 addition & 0 deletions tests/exception/t9657.nim
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ discard """
exitcode: 1
target: "c"
disabled: "openbsd"
disabled: "netbsd"
"""
# todo: remove `target: "c"` workaround once #10343 is properly fixed
close stdmsg
Expand Down
2 changes: 1 addition & 1 deletion tests/stdlib/tgetaddrinfo.nim
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ block DGRAM_UDP:
doAssert aiList.ai_next == nil
freeAddrInfo aiList

when defined(posix) and not defined(haiku) and not defined(freebsd) and not defined(openbsd):
when defined(posix) and not defined(haiku) and not defined(freebsd) and not defined(openbsd) and not defined(netbsd):

block RAW_ICMP:
# the port will be ignored
Expand Down