diff options
author | Eugene Kabanov <ka@hardcore.kiev.ua> | 2017-03-20 21:20:26 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-03-20 20:20:26 +0100 |
commit | 8310d252c27219f97980aff501b6ddd6de16eab2 (patch) | |
tree | 8cfcc3aee03a410c74274548e869365414d2876a /tests/testament | |
parent | 2d0ee2c8abcfa45987c8e918298d2e991ffd7454 (diff) | |
download | Nim-8310d252c27219f97980aff501b6ddd6de16eab2.tar.gz |
Update testament to include all tests from tests/threads category. (#5576)
Diffstat (limited to 'tests/testament')
-rw-r--r-- | tests/testament/categories.nim | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/tests/testament/categories.nim b/tests/testament/categories.nim index 0685dd73a..4ba07cd21 100644 --- a/tests/testament/categories.nim +++ b/tests/testament/categories.nim @@ -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 ------------------------------------------ |