From 4ac6a2603167a3199dfce60f07dba3a5188ea7a8 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Fri, 3 Feb 2017 10:29:08 +0100 Subject: [PATCH] testament: be verbose when --pedantic fails --- tests/testament/tester.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim index 7efd405bb8..d4a161dabd 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