ARC: ported the GC tests over to --gc:arc
This commit is contained in:
parent
879801c639
commit
72237e2bcf
14 changed files with 79 additions and 29 deletions
|
|
@ -40,7 +40,8 @@ const
|
|||
"coroutines",
|
||||
"osproc",
|
||||
"shouldfail",
|
||||
"dir with space"
|
||||
"dir with space",
|
||||
"destructor"
|
||||
]
|
||||
|
||||
proc isTestFile*(file: string): bool =
|
||||
|
|
@ -176,6 +177,11 @@ proc gcTests(r: var TResults, cat: Category, options: string) =
|
|||
" -d:release", cat)
|
||||
testSpec r, makeTest("tests/gc" / filename, options &
|
||||
" -d:release -d:useRealtimeGC", cat)
|
||||
when filename != "gctest":
|
||||
testSpec r, makeTest("tests/gc" / filename, options &
|
||||
" --gc:arc", cat)
|
||||
testSpec r, makeTest("tests/gc" / filename, options &
|
||||
" --gc:arc -d:release", cat)
|
||||
|
||||
template testWithoutBoehm(filename: untyped) =
|
||||
testWithoutMs filename
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue