mirror of
https://github.com/nim-lang/Nim.git
synced 2026-06-05 19:34:12 +00:00
fixes the new ':test:' feature
This commit is contained in:
@@ -800,7 +800,7 @@ proc commandRstAux(filename, outExt: string) =
|
||||
# Nim's convention: every path is relative to the file it was written in:
|
||||
outp = splitFile(d.filename).dir / filename
|
||||
writeFile(outp, content)
|
||||
let cmd = cmd % outp
|
||||
let cmd = unescape(cmd) % quoteShell(outp)
|
||||
rawMessage(hintExecuting, cmd)
|
||||
if execShellCmd(cmd) != status:
|
||||
rawMessage(errExecutionOfProgramFailed, cmd)
|
||||
|
||||
Reference in New Issue
Block a user