testament: joinable is now an explicit concept of a test spec

This commit is contained in:
Andreas Rumpf 2018-12-09 13:47:03 +01:00 • committed by Araq
commit ac785b0623
17 changed files with 55 additions and 51 deletions

View file

@ -28,6 +28,7 @@ dflfdjkl__abcdefgasfsgdfgsgdfggsdfasdfsafewfkljdsfajsdf
kgdchlfniambejop
fjpmholcibdgeakn
'''
joinable: false
"""
block tarray:

View file

@ -6,10 +6,11 @@ And we get here
2
3
'''
joinable: false
"""
import hashes, sequtils, tables
# test should not be joined because it takes too long.
block tableadds:
proc main =
var tab = newTable[string, string]()

View file

@ -1,5 +1,6 @@
discard """
output: "turn_destroy_into_finalizer works"
joinable: false
"""
type

View file

@ -2,8 +2,11 @@ discard """
output: '''1 [2, 3, 4, 7]
[0, 0]'''
target: "c"
joinable: false
"""
# don't join because the code is too messy.
# Nim RTree and R*Tree implementation
# S. Salewski, 06-JAN-2018

View file

@ -4,9 +4,10 @@ collide: unit, thing
collide: unit, thing
collide: thing, unit
collide: thing, thing
collide: unit, thing | collide: unit, thing | collide: thing, unit |
collide: unit, thing | collide: unit, thing | collide: thing, unit |
do nothing
'''
joinable: false
"""

View file

@ -1,5 +1,6 @@
discard """
outputsub: "Number of parameters: 0"
joinable: false
"""
# Test the command line

View file

@ -3,6 +3,7 @@ outputsub: '''
Simple tree node allocation worked!
Simple cycle allocation worked!
'''
joinable: false
"""
# Test the implementation of the new operator

View file

@ -4,8 +4,10 @@ compile start
tused.nim(15, 8) Hint: 'tused.echoSub(a: int, b: int)[declared in tused.nim(15, 7)]' is declared but not used [XDeclaredButNotUsed]
compile end'''
output: "8\n8"
joinable: false
"""
# not joinable because paths in nimout differ when imported
static:
echo "compile start"

View file

@ -2,6 +2,7 @@ discard """
output: '''
just exiting...
'''
joinable: false
"""
# Test the new beforeQuit variable:

View file

@ -1,6 +1,7 @@
discard """
disabled: "travis"
disabled: "appveyor"
joinable: false
"""
# CI integration servers are out of memory for this test

View file

@ -1,5 +1,6 @@
discard """
disabled: "windows"
joinable: false
"""
# appveyor is "out of memory"

View file

@ -1,3 +1,8 @@
discard """
joinable: false
"""
# not joinable because it executes itself with parameters
import os
import osproc
import parseopt2

View file

@ -1,5 +1,6 @@
discard """
output: '''success'''
joinable: false
"""
# bug #4818

View file

@ -9,8 +9,9 @@ ptr Foo
(member: "hello world", x: ...)
(member: 123.456, x: ...)
'''
joinable: false
"""
# not joinable because it causes out of memory with --gc:boehm
import typetraits
block t1252: