aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-09-06 11:57:14 -0700
committerGanesh Viswanathan <dev@genotrance.com>2019-10-02 15:31:12 -0500
commit2049787f435440a51c7989ca9939a89d9b2aeff6 (patch)
tree4e938b7d4c0c3c85a6297de00b95cb3865e16f08 /tests
parent5bf5c7445da4849dc7bf01086ed2b7117a79ed41 (diff)
downloadnimterop-2049787f435440a51c7989ca9939a89d9b2aeff6.tar.gz
nimterop-2049787f435440a51c7989ca9939a89d9b2aeff6.zip
More archive support, Windows lzma test
Diffstat (limited to 'tests')
-rw-r--r--tests/getheader.nims8
-rw-r--r--tests/lzma.nim2
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/getheader.nims b/tests/getheader.nims
index 6d0f73a..840a114 100644
--- a/tests/getheader.nims
+++ b/tests/getheader.nims
@@ -36,7 +36,7 @@ when defined(posix):
testCall(cmd & " -d:lzmaGit -d:lzmaStatic -d:lzmaVersion=v5.2.0" & rcmd, exp & "5.2.0", 0, delete = false)
testCall("cd build/liblzma && git branch", "v5.2.0", 0, delete = false)
- # dl
- testCall(cmd & " -d:lzmaDL" & rcmd, "Need version", 1)
- testCall(cmd & " -d:lzmaDL -d:lzmaVersion=v5.2.4" & rcmd, exp & "5.2.4", 0)
- testCall(cmd & " -d:lzmaDL -d:lzmaStatic -d:lzmaVersion=v5.2.4" & rcmd, exp & "5.2.4", 0, delete = false)
+# dl
+testCall(cmd & " -d:lzmaDL" & rcmd, "Need version", 1)
+testCall(cmd & " -d:lzmaDL -d:lzmaVersion=5.2.4" & rcmd, exp & "5.2.4", 0)
+testCall(cmd & " -d:lzmaDL -d:lzmaStatic -d:lzmaVersion=5.2.4" & rcmd, exp & "5.2.4", 0, delete = false)
diff --git a/tests/lzma.nim b/tests/lzma.nim
index 0cb92f5..422f94d 100644
--- a/tests/lzma.nim
+++ b/tests/lzma.nim
@@ -11,7 +11,7 @@ static:
getHeader(
"lzma.h",
giturl = "https://github.com/xz-mirror/xz",
- dlurl = "https://github.com/xz-mirror/xz/archive/$1.zip",
+ dlurl = "https://tukaani.org/xz/xz-$1.tar.gz",
outdir = baseDir,
conFlags = "--disable-xz --disable-xzdec --disable-lzmadec --disable-lzmainfo"
)