diff options
Diffstat (limited to 'tests/testament/tester.nim')
-rw-r--r-- | tests/testament/tester.nim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/testament/tester.nim b/tests/testament/tester.nim index 136a509e4..566338559 100644 --- a/tests/testament/tester.nim +++ b/tests/testament/tester.nim @@ -22,7 +22,7 @@ const Command: all run all tests - c|category <category> run all the tests of a certain category + c|cat|category <category> run all the tests of a certain category r|run <test> run single test file html generate $1 from the database Arguments: @@ -262,6 +262,7 @@ proc codegenCheck(test: TTest, target: TTarget, spec: TSpec, expectedMsg: var st echo getCurrentExceptionMsg() except IOError: given.err = reCodeNotFound + echo getCurrentExceptionMsg() proc nimoutCheck(test: TTest; expectedNimout: string; given: var TSpec) = let exp = expectedNimout.strip.replace("\C\L", "\L") @@ -509,7 +510,8 @@ proc main() = backend.close() var failed = r.total - r.passed - r.skipped if failed != 0: - echo "FAILURE! total: ", r.total, " passed: ", r.passed, " skipped: ", r.skipped + echo "FAILURE! total: ", r.total, " passed: ", r.passed, " skipped: ", + r.skipped, " failed: ", failed quit(QuitFailure) if paramCount() == 0: |