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
parent 610283b9b0
commit 031bfdec6f
50 changed files with 313 additions and 46 deletions

View File

@@ -1,3 +1,15 @@
discard """
sortoutput: true
output: '''
(x: 0.0)
(x: 0.0)
(x: 0.0)
test
test
test
'''
"""
# bug #2257
import threadpool

View File

@@ -1,3 +1,11 @@
discard """
output: '''
3
25
40
50
'''
"""
import threadpool, os

View File

@@ -1,3 +1,7 @@
discard """
output: "90"
"""
when false:
template lock(a, b: ptr Lock; body: stmt) =

View File

@@ -1,3 +1,8 @@
discard """
output: '''
done999 999
'''
"""
import threadpool

View File

@@ -1,5 +1,6 @@
discard """
ccodeCheck: "\\i @'deepCopy(' .*"
action: compile
"""
# bug #2286

View File

@@ -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