diff options
author | Reimer Behrends <behrends@gmail.com> | 2015-09-08 19:29:29 +0200 |
---|---|---|
committer | Reimer Behrends <behrends@gmail.com> | 2015-09-08 19:29:29 +0200 |
commit | 9deab06c1ba4e7badec41031ac1af585c353c6f2 (patch) | |
tree | 32e21c1e6197ca2cc49a12d026c0f465e6bdf39e /tests | |
parent | 639b5e006992779e8f984eb4a2b1509e4ad2b03a (diff) | |
download | Nim-9deab06c1ba4e7badec41031ac1af585c353c6f2.tar.gz |
Include Boehm GC in garbage collection tests.
Diffstat (limited to 'tests')
-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 4de1edeee..10e39b20a 100644 --- a/tests/testament/categories.nim +++ b/tests/testament/categories.nim @@ -114,12 +114,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 "growobjcrash" test "gcbench" @@ -130,9 +136,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" |