mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-05 04:27:44 +00:00
pass nim path to subprocess testament (#6779)
This commit is contained in:
committed by
Andreas Rumpf
parent
aac94e0ab5
commit
035f0fb023
4
.gitignore
vendored
4
.gitignore
vendored
@@ -57,3 +57,7 @@ dist/
|
||||
# Private directories and files (IDEs)
|
||||
.*/
|
||||
~*
|
||||
|
||||
# testament cruft
|
||||
testresults/
|
||||
test.txt
|
||||
|
||||
@@ -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