summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJacek Sieka <arnetheduck@gmail.com>2016-10-12 21:32:15 +0800
committerJacek Sieka <arnetheduck@gmail.com>2016-10-12 21:32:15 +0800
commit4435d83a885fb3bb7059f1758f20fee14d68a831 (patch)
tree4e3f61118d136562b1acd3284caf7a5f9b2fb134
parent2748da1496995e84601367af7405d82119f76651 (diff)
downloadNim-4435d83a885fb3bb7059f1758f20fee14d68a831.tar.gz
run gctest for gc:none
-rw-r--r--tests/testament/categories.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testament/categories.nim b/tests/testament/categories.nim
index 3ed2f2196..2b0b55c0b 100644
--- a/tests/testament/categories.nim
+++ b/tests/testament/categories.nim
@@ -115,6 +115,12 @@ proc dllTests(r: var TResults, cat: Category, options: string) =
 # ------------------------------ GC tests -------------------------------------
 
 proc gcTests(r: var TResults, cat: Category, options: string) =
+  template testWithNone(filename: untyped) =
+    testSpec r, makeTest("tests/gc" / filename, options &
+                  " --gc:none", cat, actionRun)
+    testSpec r, makeTest("tests/gc" / filename, options &
+                  " -d:release --gc:none", cat, actionRun)
+
   template testWithoutMs(filename: untyped) =
     testSpec r, makeTest("tests/gc" / filename, options, cat, actionRun)
     testSpec r, makeTest("tests/gc" / filename, options &
@@ -144,6 +150,7 @@ proc gcTests(r: var TResults, cat: Category, options: string) =
   test "gcleak"
   test "gcleak2"
   test "gctest"
+  testWithNone "gctest"
   test "gcleak3"
   test "gcleak4"
   # Disabled because it works and takes too long to run: