diff options
author | Araq <rumpf_a@web.de> | 2015-10-12 17:34:44 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2015-10-12 17:34:44 +0200 |
commit | 967c20743a7d5f85e4310188741fa5db2c373278 (patch) | |
tree | 61a1eaaac5277e1e5b5eac4f6942bb5d79d212b8 /tests/testament | |
parent | ca75985fc185b4fa47583534f1c53c33eaad3f6c (diff) | |
parent | 250375bdd22530d3a0f3b2b87cbbf0987c65fcaa (diff) | |
download | Nim-967c20743a7d5f85e4310188741fa5db2c373278.tar.gz |
Merge branch 'gc-fixes' of https://github.com/rbehrends/Nim into rbehrends-gc-fixes
Diffstat (limited to 'tests/testament')
-rw-r--r-- | tests/testament/categories.nim | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/tests/testament/categories.nim b/tests/testament/categories.nim index 57b28620e..33ce086d3 100644 --- a/tests/testament/categories.nim +++ b/tests/testament/categories.nim @@ -117,12 +117,18 @@ proc gcTests(r: var TResults, cat: Category, options: string) = testSpec r, makeTest("tests/gc" / filename, options & " -d:release -d:useRealtimeGC", cat, actionRun) - template test(filename: expr): stmt = + template testWithoutBoehm(filename: expr): stmt = testWithoutMs filename testSpec r, makeTest("tests/gc" / filename, options & " --gc:markAndSweep", cat, actionRun) testSpec r, makeTest("tests/gc" / filename, options & " -d:release --gc:markAndSweep", cat, actionRun) + template test(filename: expr): stmt = + testWithoutBoehm filename + testSpec r, makeTest("tests/gc" / filename, options & + " --gc:boehm", cat, actionRun) + testSpec r, makeTest("tests/gc" / filename, options & + " -d:release --gc:boehm", cat, actionRun) test "gcemscripten" test "growobjcrash" @@ -134,9 +140,9 @@ proc gcTests(r: var TResults, cat: Category, options: string) = test "gcleak4" # Disabled because it works and takes too long to run: #test "gcleak5" - test "weakrefs" + testWithoutBoehm "weakrefs" test "cycleleak" - test "closureleak" + testWithoutBoehm "closureleak" testWithoutMs "refarrayleak" test "stackrefleak" |