Skip to content

Commit

Permalink
Disable tfdleak_multiple on platforms other than Windows (#14624)
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour authored Jun 11, 2020
1 parent 6aa971d commit c83a22b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/stdlib/tfdleak_multiple.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit c83a22b

Please sign in to comment.