mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 04:02:41 +00:00
show stderr w/ reExitcodesDiffer
This commit is contained in:
@@ -282,7 +282,7 @@ proc testSpec(r: var TResults, test: TTest) =
|
||||
return
|
||||
|
||||
let exeCmd = (if isJsTarget: nodejs & " " else: "") & exeFile
|
||||
let (buf, exitCode) = execCmdEx(exeCmd)
|
||||
var (buf, exitCode) = execCmdEx(exeCmd, options = {poStdErrToStdOut})
|
||||
let bufB = if expected.sortoutput: makeDeterministic(strip(buf.string))
|
||||
else: strip(buf.string)
|
||||
let expectedOut = strip(expected.outp)
|
||||
|
||||
Reference in New Issue
Block a user