Disable tfdleak_multiple on platforms other than Windows (#14624)
This commit is contained in:
parent
6aa971d39f
commit
c83a22b76e
1 changed files with 4 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue