diff --git a/testament/specs.nim b/testament/specs.nim index c988222f43735..b79cade2bae0c 100644 --- a/testament/specs.nim +++ b/testament/specs.nim @@ -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": diff --git a/tests/exception/t9657.nim b/tests/exception/t9657.nim index 1023f9593fc23..ea93aff598a77 100644 --- a/tests/exception/t9657.nim +++ b/tests/exception/t9657.nim @@ -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 diff --git a/tests/stdlib/tgetaddrinfo.nim b/tests/stdlib/tgetaddrinfo.nim index 1c9d020a12786..2d6f043a6f0a0 100644 --- a/tests/stdlib/tgetaddrinfo.nim +++ b/tests/stdlib/tgetaddrinfo.nim @@ -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(linux): block RAW_ICMP: # the port will be ignored