diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2018-08-02 04:33:46 -0700 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-08-02 13:33:46 +0200 |
commit | 9a390d66fb86eb68851000738be5744bea1261a0 (patch) | |
tree | e7ea1aebd087a81a310199d6cae6f785adf6c063 | |
parent | 78c0ac54070e860ec0ed8ac0b58658f7ad52227a (diff) | |
download | Nim-9a390d66fb86eb68851000738be5744bea1261a0.tar.gz |
fixes #8509 disable 4GB allocating test on windows that crashed appveyor (#8510)
-rw-r--r-- | tests/fragmentation/tfragment_alloc.nim | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/fragmentation/tfragment_alloc.nim b/tests/fragmentation/tfragment_alloc.nim index 5a44b7434..80341d2dc 100644 --- a/tests/fragmentation/tfragment_alloc.nim +++ b/tests/fragmentation/tfragment_alloc.nim @@ -16,9 +16,12 @@ proc main = dealloc p # c_fprintf(stdout, "iteration: %ld size: %ld\n", i, size) when defined(cpu64): - # bug #7120 - var x = alloc(((1 shl 29) - 4) * 8) - dealloc x + # see https://github.com/nim-lang/Nim/issues/8509 + # this often made appveyor (on windows) fail with out of memory + when defined(posix): + # bug #7120 + var x = alloc(((1 shl 29) - 4) * 8) + dealloc x main() |