testament: be verbose when --pedantic fails
This commit is contained in:
parent
848676cec6
commit
4ac6a26031
1 changed files with 3 additions and 1 deletions
|
|
@ -459,7 +459,9 @@ proc main() =
|
||||||
backend.close()
|
backend.close()
|
||||||
if optPedantic:
|
if optPedantic:
|
||||||
var failed = r.total - r.passed - r.skipped
|
var failed = r.total - r.passed - r.skipped
|
||||||
if failed > 0: quit(QuitFailure)
|
if failed > 0:
|
||||||
|
echo "FAILURE! total: ", r.total, " passed: ", r.passed, " skipped: ", r.skipped
|
||||||
|
quit(QuitFailure)
|
||||||
|
|
||||||
if paramCount() == 0:
|
if paramCount() == 0:
|
||||||
quit Usage
|
quit Usage
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue