make system tests run properly
This commit is contained in:
jcosborn 2018-08-01 03:57:35 -05:00 • committed by Andreas Rumpf
commit 8f4c5a8955
7 changed files with 62 additions and 31 deletions

18
tests/system/t7894.nim Normal file
View file

@ -0,0 +1,18 @@
discard """
"""
import os
const size = 250000000
var saved = newSeq[seq[int8]]()
for i in 0..22:
# one of these is 0.25GB.
#echo i
var x = newSeq[int8](size)
sleep(10)
saved.add(x)
for x in saved:
#echo x.len
doAssert x.len == size