Nim/tests/testament
Sergey Avseyev 411e602d13 Introduce pedantic mode for tester
Motivation
----------
External tools need to know whether or not any test in suite failed. For
example buildbot, or packaging tool would like to stop the execution and
mark it as failed if some tests does not pass.

Modification
------------
Add `--pedantic` switch to tester program which will force it to quit
with non-zero exit code if at least one failure detected. Also update
`tests()` proc in koch to inspect result from tester and propagate it to
user.

Result
------
Nothing has changed in default behaviour. But following invocations will
exit with non-zero code if there failed tests:

    ./koch tests --pedantic all
    ./tests/testament/tester --pedantic all
2015-05-25 22:37:30 +03:00
..
css tester support html generation 2014-01-14 01:12:56 +01:00
backend.nim Happy new year! 2015-01-06 15:26:33 +01:00
caasdriver.nim Make caasdriver compile 2015-01-20 14:21:49 +01:00
categories.nim run the C test too 2015-05-13 13:13:30 -05:00
htmlgen.nim fixed the tester; more tests green 2015-03-10 12:32:48 +01:00
specs.nim fixes #2517 2015-04-25 23:16:59 +02:00
tester.nim Introduce pedantic mode for tester 2015-05-25 22:37:30 +03:00
tester.nim.cfg Add missing tester.nim.cfg. 2015-01-28 18:29:21 +00:00