mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-27 09:01:37 +00:00
pass nim path to subprocess testament (#6779)
This commit is contained in:
committed by
Andreas Rumpf
parent
aac94e0ab5
commit
035f0fb023
@@ -465,7 +465,10 @@ proc main() =
|
||||
let testsDir = "tests" & DirSep
|
||||
var myself = quoteShell(findExe("tests" / "testament" / "tester"))
|
||||
if targetsStr.len > 0:
|
||||
myself &= " '--targets:" & targetsStr & "'"
|
||||
myself &= " " & quoteShell("--targets:" & targetsStr)
|
||||
|
||||
myself &= " " & quoteShell("--nim:" & compilerPrefix)
|
||||
|
||||
var cmds: seq[string] = @[]
|
||||
let rest = if p.cmdLineRest.string.len > 0: " " & p.cmdLineRest.string else: ""
|
||||
for kind, dir in walkDir(testsDir):
|
||||
|
||||
Reference in New Issue
Block a user