aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-06-18 14:33:32 -0500
committerGanesh Viswanathan <dev@genotrance.com>2020-06-18 14:33:32 -0500
commit36622e60a4ff111e405458e360e9203e8bd06a3f (patch)
treef08451c75305d1734d43c167383ca89354efab86 /tests
parent73885382da089f36447f67e7bd4e8710dfaa6714 (diff)
downloadnimterop-36622e60a4ff111e405458e360e9203e8bd06a3f.tar.gz
nimterop-36622e60a4ff111e405458e360e9203e8bd06a3f.zip
--gc:arc fixes and testing
Diffstat (limited to 'tests')
-rw-r--r--tests/getheader.nims3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/getheader.nims b/tests/getheader.nims
index 3fa8eb6..916abcf 100644
--- a/tests/getheader.nims
+++ b/tests/getheader.nims
@@ -21,6 +21,9 @@ var
lexp = "liblzma version = "
zexp = "zlib version = "
+when (NimMajor, NimMinor, NimPatch) >= (1, 2, 0):
+ cmd &= " --gc:arc"
+
testCall(cmd & lrcmd, "No build files found", 1)
testCall(cmd & " -d:libssh2Conan" & sshcmd, "Need version for Conan.io uri", 1)
testCall(cmd & " -d:libssh2JBB -d:libssh2SetVer=1.9.0" & sshcmd, "Version in both uri", 1)