Files
Nim/tests
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
..
2014-01-13 02:10:03 +01:00
2015-03-26 02:12:38 +01:00
2015-04-10 14:03:47 +02:00
2015-04-06 23:21:52 +02:00
2015-04-21 11:17:24 +02:00
2014-08-31 12:34:35 +02:00
2015-03-17 17:50:32 +01:00
2015-03-25 14:26:47 +01:00
2015-03-04 21:19:38 +01:00
2015-04-21 11:17:24 +02:00
2014-01-13 02:10:03 +01:00
2014-11-16 20:32:05 +01:00
2014-01-13 02:10:03 +01:00
2015-03-25 13:21:50 +01:00
2014-08-31 15:15:26 +02:00
2015-03-17 00:02:47 +01:00
2015-04-27 23:11:59 +02:00
2015-01-27 01:33:48 +01:00
2014-03-05 08:30:05 +01:00
2015-02-03 09:04:24 +01:00
2015-04-11 10:01:11 +02:00
2015-04-27 23:11:59 +02:00
2015-03-28 00:38:15 +01:00
2015-02-20 20:01:25 +01:00
2014-08-31 15:15:26 +02:00
2014-01-13 02:10:03 +01:00
2015-02-10 22:23:38 +01:00
2015-04-11 10:01:10 +02:00
2014-01-13 02:10:03 +01:00
2015-03-11 20:11:08 +01:00
2015-02-04 21:40:33 +01:00
2015-04-22 12:04:10 +02:00
2015-03-17 00:02:47 +01:00
2014-01-13 02:10:03 +01:00
2014-08-31 15:15:26 +02:00
2014-01-13 02:10:03 +01:00
2015-03-25 13:05:32 +01:00
2015-04-22 12:04:09 +02:00
2015-03-10 15:34:15 +01:00
2015-03-28 00:47:03 +01:00
2015-04-11 10:01:12 +02:00
2015-03-17 00:02:47 +01:00
2015-02-04 22:15:30 +01:00
2014-08-31 15:15:26 +02:00
2014-01-20 20:07:44 +01:00
2014-01-13 02:10:03 +01:00
2014-08-31 15:15:26 +02:00
2014-08-31 12:34:35 +02:00
2015-02-14 19:00:11 +01:00
2015-01-07 19:05:37 +08:00
2015-04-28 20:21:53 +02:00
2015-03-17 17:50:32 +01:00
2015-01-02 03:32:45 +01:00
2015-05-03 01:08:53 +02:00
2015-01-31 16:23:38 +01:00
2015-04-28 20:21:53 +02:00
2015-03-17 17:50:32 +01:00
2014-01-13 02:10:03 +01:00
2014-08-31 15:15:26 +02:00
2015-03-17 17:50:32 +01:00
2013-03-16 23:53:07 +01:00
2012-02-02 00:16:33 +01:00
2015-01-06 15:05:51 -06:00

This directory contains the test cases.
Each test must have a filename of the form: ``t*.nim``

Each test can contain a spec in a ``discard """"""`` block.

The folder ``rodfiles`` contains special tests that test incremental
compilation via symbol files.

The folder ``dll`` contains simple DLL tests.

The folder ``realtimeGC`` contains a test for validating that the realtime GC
can run properly without linking against the nimrtl.dll/so. It includes a C
client and platform specific build files for manual compilation.