make thavlak and tmarkerproc_regression tests take fewer iterations in order to speedup the CIs

This commit is contained in:
Araq 2018-10-17 13:20:45 +02:00
commit 81e33b9d87
2 changed files with 8 additions and 8 deletions

View file

@ -34,11 +34,11 @@ proc foo(x: string): VersionRange =
result.ver = Version(x)
proc main =
var a: array[5000, VersionRange]
for i in 0 ..< 5000:
var a: array[500, VersionRange]
for i in 0 ..< 500:
a[i] = foo($i & "some longer text here " & $i)
GC_fullcollect()
for i in 0 ..< 5000:
for i in 0 ..< 500:
let expected = $i & "some longer text here " & $i
if a[i].ver.string != expected:
quit "bug!"