fixes a tester regression

This commit is contained in:
Andreas Rumpf
2017-11-06 20:32:06 +01:00
parent 2d892caba8
commit 4dad120d47

View File

@@ -461,10 +461,9 @@ proc main() =
case action
of "all":
let testsDir = "tests" & DirSep
var myself = quoteShell(findExe("tests" / "testament" / "tester")) &
" '--nim:" & compilerPrefix & "'"
var myself = quoteShell(findExe("tests" / "testament" / "tester"))
if targetsStr.len > 0:
myself &= " '--targets:" & targetsStr & "'"
myself &= " '--targets:" & targetsStr & "'"
var cmds: seq[string] = @[]
let rest = if p.cmdLineRest.string.len > 0: " " & p.cmdLineRest.string else: ""
for kind, dir in walkDir(testsDir):