make run the default action of a test in tester
This commit is contained in:
parent
610283b9b0
commit
031bfdec6f
50 changed files with 313 additions and 46 deletions
|
|
@ -1,3 +1,15 @@
|
|||
discard """
|
||||
sortoutput: true
|
||||
output: '''
|
||||
(x: 0.0)
|
||||
(x: 0.0)
|
||||
(x: 0.0)
|
||||
test
|
||||
test
|
||||
test
|
||||
'''
|
||||
"""
|
||||
|
||||
# bug #2257
|
||||
import threadpool
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,11 @@
|
|||
discard """
|
||||
output: '''
|
||||
3
|
||||
25
|
||||
40
|
||||
50
|
||||
'''
|
||||
"""
|
||||
|
||||
import threadpool, os
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,7 @@
|
|||
discard """
|
||||
output: "90"
|
||||
"""
|
||||
|
||||
|
||||
when false:
|
||||
template lock(a, b: ptr Lock; body: stmt) =
|
||||
|
|
|
|||
|
|
@ -1,3 +1,8 @@
|
|||
discard """
|
||||
output: '''
|
||||
done999 999
|
||||
'''
|
||||
"""
|
||||
|
||||
import threadpool
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
discard """
|
||||
ccodeCheck: "\\i @'deepCopy(' .*"
|
||||
action: compile
|
||||
"""
|
||||
|
||||
# bug #2286
|
||||
|
|
|
|||
|
|
@ -1,3 +1,24 @@
|
|||
discard """
|
||||
output: '''
|
||||
Hello 1
|
||||
Hello 2
|
||||
Hello 3
|
||||
Hello 4
|
||||
Hello 5
|
||||
Hello 6
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
'''
|
||||
"""
|
||||
|
||||
# bug #2287
|
||||
|
||||
import threadPool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue