summary refs log tree commit diff stats
path: root/testament
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2021-02-23 04:31:53 -0800
committerGitHub <noreply@github.com>2021-02-23 13:31:53 +0100
commit5d95137ce040edd181e56bc132ce319e59bd1ee4 (patch)
treeb17fa6e6298cbc4d5d24fef398b754c88b783681 /testament
parentb1a3651ae4e2db9ea46ab5c6c82f554d963d8506 (diff)
downloadNim-5d95137ce040edd181e56bc132ce319e59bd1ee4.tar.gz
remove tests/deps/ (#17132)
* remove tests/deps/

* fix tests

* fix tests/manyloc/keineschweine/lib/zlib_helpers.nim

* fixup
Diffstat (limited to 'testament')
-rw-r--r--testament/lib/stdtest/specialpaths.nim2
-rw-r--r--testament/specs.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/testament/lib/stdtest/specialpaths.nim b/testament/lib/stdtest/specialpaths.nim
index dc5cc2064..53b94fdbb 100644
--- a/testament/lib/stdtest/specialpaths.nim
+++ b/testament/lib/stdtest/specialpaths.nim
@@ -1,6 +1,6 @@
 #[
 todo: move findNimStdLibCompileTime, findNimStdLib here
-xxx: consider moving this to $nim/compiler/relpaths.nim to get relocatable paths
+xxx: factor pending https://github.com/timotheecour/Nim/issues/616
 
 ## note: $lib vs $nim
 note: these can resolve to 3 different paths if running via `nim c --lib:lib foo`,
diff --git a/testament/specs.nim b/testament/specs.nim
index 5053e7256..8b90f8c91 100644
--- a/testament/specs.nim
+++ b/testament/specs.nim
@@ -103,7 +103,7 @@ type
 
 proc getCmd*(s: TSpec): string =
   if s.cmd.len == 0:
-    result = compilerPrefix & " $target --hints:on -d:testing --nimblePath:tests/deps $options $file"
+    result = compilerPrefix & " $target --hints:on -d:testing --clearNimblePath --nimblePath:build/deps/pkgs $options $file"
   else:
     result = s.cmd