testament: joinable is now an explicit concept of a test spec
This commit is contained in:
parent
46820b94a6
commit
ac785b0623
17 changed files with 55 additions and 51 deletions
|
|
@ -28,6 +28,7 @@ dflfdjkl__abcdefgasfsgdfgsgdfggsdfasdfsafewfkljdsfajsdf
|
|||
kgdchlfniambejop
|
||||
fjpmholcibdgeakn
|
||||
'''
|
||||
joinable: false
|
||||
"""
|
||||
|
||||
block tarray:
|
||||
|
|
|
|||
|
|
@ -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]()
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
discard """
|
||||
output: "turn_destroy_into_finalizer works"
|
||||
joinable: false
|
||||
"""
|
||||
|
||||
type
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
"""
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
discard """
|
||||
outputsub: "Number of parameters: 0"
|
||||
joinable: false
|
||||
"""
|
||||
# Test the command line
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ outputsub: '''
|
|||
Simple tree node allocation worked!
|
||||
Simple cycle allocation worked!
|
||||
'''
|
||||
joinable: false
|
||||
"""
|
||||
|
||||
# Test the implementation of the new operator
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ discard """
|
|||
output: '''
|
||||
just exiting...
|
||||
'''
|
||||
joinable: false
|
||||
"""
|
||||
|
||||
# Test the new beforeQuit variable:
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
discard """
|
||||
disabled: "travis"
|
||||
disabled: "appveyor"
|
||||
joinable: false
|
||||
"""
|
||||
|
||||
# CI integration servers are out of memory for this test
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
discard """
|
||||
disabled: "windows"
|
||||
joinable: false
|
||||
"""
|
||||
|
||||
# appveyor is "out of memory"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
discard """
|
||||
joinable: false
|
||||
"""
|
||||
|
||||
# not joinable because it executes itself with parameters
|
||||
import os
|
||||
import osproc
|
||||
import parseopt2
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
discard """
|
||||
output: '''success'''
|
||||
joinable: false
|
||||
"""
|
||||
|
||||
# bug #4818
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue