diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-02-03 10:29:08 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-02-03 10:29:08 +0100 |
commit | 4ac6a2603167a3199dfce60f07dba3a5188ea7a8 (patch) | |
tree | a745a038f8df3062152febf0f0ad9285af9c1869 /tests/testament/tester.nim | |
parent | 848676cec6ba75e9bd0f8f590c6e47f6be7e696e (diff) | |
download | Nim-4ac6a2603167a3199dfce60f07dba3a5188ea7a8.tar.gz |
testament: be verbose when --pedantic fails
Diffstat (limited to 'tests/testament/tester.nim')
-rw-r--r-- | tests/testament/tester.nim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim index 7efd405bb..d4a161dab 100644 --- a/tests/testament/tester.nim +++ b/tests/testament/tester.nim @@ -459,7 +459,9 @@ proc main() = backend.close() if optPedantic: 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: quit Usage |