Update testament to include all tests from tests/threads category. (#5576)
This commit is contained in:
parent
2d0ee2c8ab
commit
8310d252c2
4 changed files with 8 additions and 19 deletions
|
|
@ -186,25 +186,11 @@ proc longGCTests(r: var TResults, cat: Category, options: string) =
|
||||||
|
|
||||||
proc threadTests(r: var TResults, cat: Category, options: string) =
|
proc threadTests(r: var TResults, cat: Category, options: string) =
|
||||||
template test(filename: untyped) =
|
template test(filename: untyped) =
|
||||||
testSpec r, makeTest("tests/threads" / filename, options, cat, actionRun)
|
testSpec r, makeTest(filename, options, cat, actionRun)
|
||||||
testSpec r, makeTest("tests/threads" / filename, options &
|
testSpec r, makeTest(filename, options & " -d:release", cat, actionRun)
|
||||||
" -d:release", cat, actionRun)
|
testSpec r, makeTest(filename, options & " --tlsEmulation:on", cat, actionRun)
|
||||||
testSpec r, makeTest("tests/threads" / filename, options &
|
for t in os.walkFiles("tests/threads/t*.nim"):
|
||||||
" --tlsEmulation:on", cat, actionRun)
|
test(t)
|
||||||
|
|
||||||
test "tactors"
|
|
||||||
test "tactors2"
|
|
||||||
test "threadex"
|
|
||||||
# deactivated because output capturing still causes problems sometimes:
|
|
||||||
#test "trecursive_actor"
|
|
||||||
#test "threadring"
|
|
||||||
#test "tthreadanalysis"
|
|
||||||
#test "tthreadsort"
|
|
||||||
test "tthreadanalysis2"
|
|
||||||
#test "tthreadanalysis3"
|
|
||||||
test "tthreadheapviolation1"
|
|
||||||
test "tonthreadcreation"
|
|
||||||
test "tracy_allocator"
|
|
||||||
|
|
||||||
# ------------------------- IO tests ------------------------------------------
|
# ------------------------- IO tests ------------------------------------------
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
discard """
|
discard """
|
||||||
|
disabled: yes
|
||||||
outputsub: "0"
|
outputsub: "0"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
discard """
|
discard """
|
||||||
|
disabled: yes
|
||||||
outputsub: "101"
|
outputsub: "101"
|
||||||
errormsg: "'threadFunc' is not GC-safe"
|
errormsg: "'threadFunc' is not GC-safe"
|
||||||
line: 39
|
line: 39
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
discard """
|
discard """
|
||||||
|
disabled: yes
|
||||||
outputsub: "channel is empty"
|
outputsub: "channel is empty"
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue