show failure code
This commit is contained in:
parent
cadef43786
commit
5bb0820596
1 changed files with 1 additions and 1 deletions
|
|
@ -173,7 +173,7 @@ proc addResult(r: var TResults, test: TTest,
|
||||||
elif success == reIgnored:
|
elif success == reIgnored:
|
||||||
("Skipped", "")
|
("Skipped", "")
|
||||||
else:
|
else:
|
||||||
("Failed", "Expected:\n" & expected & "\n\n" & "Gotten:\n" & given)
|
("Failed", "Failure: " & $success & "\nExpected:\n" & expected & "\n\n" & "Gotten:\n" & given)
|
||||||
var p = startProcess("appveyor", args=["AddTest", test.name.replace("\\", "/") & test.options, "-Framework", "nim-testament", "-FileName", test.cat.string, "-Outcome", outcome, "-ErrorMessage", msg, "-Duration", $(duration*1000).int], options={poStdErrToStdOut, poUsePath, poParentStreams})
|
var p = startProcess("appveyor", args=["AddTest", test.name.replace("\\", "/") & test.options, "-Framework", "nim-testament", "-FileName", test.cat.string, "-Outcome", outcome, "-ErrorMessage", msg, "-Duration", $(duration*1000).int], options={poStdErrToStdOut, poUsePath, poParentStreams})
|
||||||
discard waitForExit(p)
|
discard waitForExit(p)
|
||||||
close(p)
|
close(p)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue