summary refs log tree commit diff stats
path: root/tests/testament
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-10-12 17:34:44 +0200
committerAraq <rumpf_a@web.de>2015-10-12 17:34:44 +0200
commit967c20743a7d5f85e4310188741fa5db2c373278 (patch)
tree61a1eaaac5277e1e5b5eac4f6942bb5d79d212b8 /tests/testament
parentca75985fc185b4fa47583534f1c53c33eaad3f6c (diff)
parent250375bdd22530d3a0f3b2b87cbbf0987c65fcaa (diff)
downloadNim-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.nim12
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"
14:35:10 +0200 RawFlowVar was renamed to FlowVarBase' href='/ahoang/Nim/commit/doc/spawn.txt?h=devel&id=5799f4f1031dc4f019592a5d5625ebe5e89ed114'>5799f4f10 ^
2c1f3f75f ^

83c89197f ^
2c1f3f75f ^

83c89197f ^
1c31de361 ^
2c1f3f75f ^








c8b5d6a63 ^


947b15216 ^

1c31de361 ^
947b15216 ^
56461c280 ^
947b15216 ^











1c31de361 ^
947b15216 ^

c8b5d6a63 ^
3ea644690 ^
c8b5d6a63 ^







947b15216 ^
c8b5d6a63 ^
1e8a9aead ^
947b15216 ^




0b44d812f ^
947b15216 ^
c8b5d6a63 ^
ebcc88238 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97