Skip to content

Commit

Permalink
Fix nim-lang#14091 and nim-lang#14093 - test failures on NetBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
euantorano committed Apr 23, 2020
1 parent eca8f1d commit 5e2f2bb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
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

0 comments on commit 5e2f2bb

Please sign in to comment.