make run the default action of a test in tester

This commit is contained in:
Arne Döring 2018-11-13 15:21:14 +01:00 • committed by Araq
commit 031bfdec6f
50 changed files with 313 additions and 46 deletions

View file

@ -1,3 +1,9 @@
discard """
output: '''
(v: 3)
'''
"""
import typetraits
type
A[T] = ref object

View file

@ -1,6 +1,7 @@
discard """
targets: "c cpp js"
ccodecheck: "'HELLO'"
action: compile
"""
when defined(JS):

View file

@ -1,4 +1,10 @@
discard """
output: '''
2
2
2
'''
"""
# bug 2659

View file

@ -1,3 +1,7 @@
discard """
action: compile
"""
# bug #2233
type MalType = object
fun: proc: MalType

View file

@ -1,3 +1,10 @@
discard """
output: '''
123
baz
'''
"""
# bug #5147
proc foo[T](t: T) =

View file

@ -1,4 +1,9 @@
discard """
output: '''
vidx 18
0,0
'''
"""
# bug #4626
var foo: (int, array[1, int]) # Tuple must be of length > 1