mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-20 07:51:32 +00:00
make run the default action of a test in tester
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user