diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2020-06-11 12:54:32 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-11 12:54:32 -0700 |
commit | c83a22b76e22d3cae0e0e6e4b9358ed9bd31ecb5 (patch) | |
tree | 5787f70c0505b49912ac7c1c6b12ccb7d7bc76bd | |
parent | 6aa971d39f1339a27a953972cd329f9cbe791f98 (diff) | |
download | Nim-c83a22b76e22d3cae0e0e6e4b9358ed9bd31ecb5.tar.gz |
Disable tfdleak_multiple on platforms other than Windows (#14624)
-rw-r--r-- | tests/stdlib/tfdleak_multiple.nim | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/stdlib/tfdleak_multiple.nim b/tests/stdlib/tfdleak_multiple.nim index 51d291284..75c4c0503 100644 --- a/tests/stdlib/tfdleak_multiple.nim +++ b/tests/stdlib/tfdleak_multiple.nim @@ -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() |