summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--tests/testament/categories.nim24
-rw-r--r--tests/threads/trecursive_actor.nim1
-rw-r--r--tests/threads/tthreadanalysis.nim1
-rw-r--r--tests/threads/ttryrecv.nim1
4 files changed, 8 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 ------------------------------------------
 
diff --git a/tests/threads/trecursive_actor.nim b/tests/threads/trecursive_actor.nim
index e2774704c..d7072aa53 100644
--- a/tests/threads/trecursive_actor.nim
+++ b/tests/threads/trecursive_actor.nim
@@ -1,4 +1,5 @@
 discard """
+  disabled: yes
   outputsub: "0"
 """
 
diff --git a/tests/threads/tthreadanalysis.nim b/tests/threads/tthreadanalysis.nim
index a6a847a0a..5b0b666ac 100644
--- a/tests/threads/tthreadanalysis.nim
+++ b/tests/threads/tthreadanalysis.nim
@@ -1,4 +1,5 @@
 discard """
+  disabled: yes
   outputsub: "101"
   errormsg: "'threadFunc' is not GC-safe"
   line: 39
diff --git a/tests/threads/ttryrecv.nim b/tests/threads/ttryrecv.nim
index 4a98e6c27..5ef1a3c10 100644
--- a/tests/threads/ttryrecv.nim
+++ b/tests/threads/ttryrecv.nim
@@ -1,4 +1,5 @@
 discard """
+  disabled: yes
   outputsub: "channel is empty"
 """