summary refs log tree commit diff stats
path: root/tests/vm
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2022-01-17 04:10:35 +0800
committerGitHub <noreply@github.com>2022-01-16 21:10:35 +0100
commit15e3813d96ad5646476b629f3a20ece89dff064d (patch)
treec7173658778b86b2dc3fec3b4c5f2243e6a0374a /tests/vm
parentd102b2f54c41f19a0545f28109d0a93550b5d886 (diff)
downloadNim-15e3813d96ad5646476b629f3a20ece89dff064d.tar.gz
add mm to compilesettings; deprecate gc (#19394)
Diffstat (limited to 'tests/vm')
-rw-r--r--tests/vm/tcompilesetting.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/vm/tcompilesetting.nim b/tests/vm/tcompilesetting.nim
index 5bf559c74..d6c08e70f 100644
--- a/tests/vm/tcompilesetting.nim
+++ b/tests/vm/tcompilesetting.nim
@@ -1,5 +1,5 @@
 discard """
-cmd: "nim c --nimcache:build/myNimCache --nimblePath:myNimblePath $file"
+cmd: "nim c --nimcache:build/myNimCache --nimblePath:myNimblePath --gc:arc $file"
 joinable: false
 """
 
@@ -12,6 +12,7 @@ template main =
   doAssert "myNimblePath" in nimblePaths.querySettingSeq[0]
   doAssert querySetting(backend) == "c"
   doAssert fileExists(libPath.querySetting / "system.nim")
+  doAssert querySetting(mm) == "arc"
 
 static: main()
 main()