more eyewash

This commit is contained in:
Arne Döring 2018-11-20 13:25:55 +01:00 • committed by Araq
commit be553e691b
4 changed files with 16 additions and 2 deletions

View file

@ -1,7 +1,10 @@
discard """ discard """
disabled: "travis" disabled: "travis"
disabled: "appveyor"
""" """
# CI integration servers are out of memory for this test
const size = 250000000 const size = 250000000
proc main() = proc main() =
@ -16,8 +19,6 @@ proc main() =
for x in saved: for x in saved:
#echo x.len #echo x.len
echo x.len
doAssert x.len == size doAssert x.len == size
main() main()

View file

@ -1,6 +1,9 @@
discard """ discard """
disabled: "appveyor"
""" """
# appveyor is "out of memory"
var x: ptr int var x: ptr int
x = cast[ptr int](alloc(7)) x = cast[ptr int](alloc(7))

View file

@ -1,6 +1,9 @@
discard """ discard """
disabled: "appveyor"
""" """
# appveyor is "out of memory"
const const
nmax = 2*1024*1024*1024 nmax = 2*1024*1024*1024

View file

@ -1,3 +1,10 @@
discard """
disabled: "appveyor"
"""
# If your os is windows and this test fails for you locally, please
# check what is going wrong.
import os import os
template getScriptDir(): string = template getScriptDir(): string =