summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-10-13 23:25:05 +0200
committerGitHub <noreply@github.com>2016-10-13 23:25:05 +0200
commit3ba2d08bbc053dbcfe27d6898befade8c3e200a6 (patch)
tree615bb01fc6645c31271f11c7b153a72f0e598bb2 /tests
parentc3959ea6c3a3a1928c22f12f26412c01f5adecdd (diff)
parent4435d83a885fb3bb7059f1758f20fee14d68a831 (diff)
downloadNim-3ba2d08bbc053dbcfe27d6898befade8c3e200a6.tar.gz
Merge pull request #4015 from arnetheduck/initallocator-fix
fix initAllocator not being called when defined(nogc) and not defined…
Diffstat (limited to 'tests')
-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: