summary refs log tree commit diff stats
path: root/tests/testament/tester.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-02-03 10:29:08 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-02-03 10:29:08 +0100
commit4ac6a2603167a3199dfce60f07dba3a5188ea7a8 (patch)
treea745a038f8df3062152febf0f0ad9285af9c1869 /tests/testament/tester.nim
parent848676cec6ba75e9bd0f8f590c6e47f6be7e696e (diff)
downloadNim-4ac6a2603167a3199dfce60f07dba3a5188ea7a8.tar.gz
testament: be verbose when --pedantic fails
Diffstat (limited to 'tests/testament/tester.nim')
-rw-r--r--tests/testament/tester.nim4
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