Update testament to include all tests from tests/threads category. (#5576)

This commit is contained in:
Eugene Kabanov
2017-03-20 21:20:26 +02:00
committed by Andreas Rumpf
parent 2d0ee2c8ab
commit 8310d252c2
4 changed files with 8 additions and 19 deletions

View File

@@ -186,25 +186,11 @@ proc longGCTests(r: var TResults, cat: Category, options: string) =
proc threadTests(r: var TResults, cat: Category, options: string) =
template test(filename: untyped) =
testSpec r, makeTest("tests/threads" / filename, options, cat, actionRun)
testSpec r, makeTest("tests/threads" / filename, options &
" -d:release", cat, actionRun)
testSpec r, makeTest("tests/threads" / filename, options &
" --tlsEmulation:on", cat, actionRun)
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"
testSpec r, makeTest(filename, options, cat, actionRun)
testSpec r, makeTest(filename, options & " -d:release", cat, actionRun)
testSpec r, makeTest(filename, options & " --tlsEmulation:on", cat, actionRun)
for t in os.walkFiles("tests/threads/t*.nim"):
test(t)
# ------------------------- IO tests ------------------------------------------

View File

@@ -1,4 +1,5 @@
discard """
disabled: yes
outputsub: "0"
"""

View File

@@ -1,4 +1,5 @@
discard """
disabled: yes
outputsub: "101"
errormsg: "'threadFunc' is not GC-safe"
line: 39

View File

@@ -1,4 +1,5 @@
discard """
disabled: yes
outputsub: "channel is empty"
"""