mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-17 08:34:20 +00:00
Disable tfdleak_multiple on platforms other than Windows (#14624)
This commit is contained in:
@@ -20,4 +20,7 @@ proc testFdLeak() =
|
||||
count.inc
|
||||
doAssert count == 0, "Leaked " & $count & " times"
|
||||
|
||||
when isMainModule: testFdLeak()
|
||||
when defined(windows):
|
||||
# tfdleak was only flaky for windows (and for netbsd, there is still a bug)
|
||||
# note that this test is quite slow, 87 sec on windows.
|
||||
testFdLeak()
|
||||
|
||||
Reference in New Issue
Block a user