make tests green; better output for when megatest execution fails

This commit is contained in:
Araq 2018-12-10 15:06:01 +01:00
commit 4d616b5dc4
6 changed files with 6 additions and 5 deletions

View file

@ -566,6 +566,7 @@ proc runJoinedTest(r: var TResults, cat: Category, testsDir: string) =
(buf, exitCode) = execCmdEx2("./megatest", [], {poStdErrToStdOut}, "")
if exitCode != 0:
echo buf
quit("megatest execution failed")
norm buf