summary refs log tree commit diff stats
path: root/testament
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-11-25 15:29:41 +0100
committerAndreas Rumpf <rumpf_a@web.de>2019-11-26 16:04:28 +0100
commit72237e2bcfc371d917e4e14b22a3c447289ea39f (patch)
tree25922b2b6dc02898657ec9d6399b6c7938e8eb92 /testament
parent879801c63980287070f64d94e4c4f7aeb28cb2f4 (diff)
downloadNim-72237e2bcfc371d917e4e14b22a3c447289ea39f.tar.gz
ARC: ported the GC tests over to --gc:arc
Diffstat (limited to 'testament')
-rw-r--r--testament/categories.nim8
1 files changed, 7 insertions, 1 deletions
diff --git a/testament/categories.nim b/testament/categories.nim
index 938f88bf5..5ff5da34e 100644
--- a/testament/categories.nim
+++ b/testament/categories.nim
@@ -40,7 +40,8 @@ const
     "coroutines",
     "osproc",
     "shouldfail",
-    "dir with space"
+    "dir with space",
+    "destructor"
   ]
 
 proc isTestFile*(file: string): bool =
@@ -176,6 +177,11 @@ proc gcTests(r: var TResults, cat: Category, options: string) =
                   " -d:release", cat)
     testSpec r, makeTest("tests/gc" / filename, options &
                   " -d:release -d:useRealtimeGC", cat)
+    when filename != "gctest":
+      testSpec r, makeTest("tests/gc" / filename, options &
+                    " --gc:arc", cat)
+      testSpec r, makeTest("tests/gc" / filename, options &
+                    " --gc:arc -d:release", cat)
 
   template testWithoutBoehm(filename: untyped) =
     testWithoutMs filename