Nim/tests/assert
Andreas Rumpf c3344862b0
--exception:goto switch for deterministic exception handling (#12977)
This implements "deterministic" exception handling for Nim based on goto instead of setjmp. This means raising an exception is much cheaper than in C++'s table based implementations. Supports hard realtime systems. Default for --gc:arc and the C target because it's generally a good idea and arc is all about deterministic behavior.

Note: This implies that fatal runtime traps are not catchable anymore! This needs to be documented.
2020-01-01 10:01:49 +01:00
..
config.nims assertions: fixes #11545 (#11605) 2019-07-01 13:19:07 +02:00
tassert.nim require errormsg to be specified before file. 2018-12-11 21:23:21 +01:00
tassert2.nim [backport] Fix spelling typos (#12755) 2019-11-28 08:30:55 +01:00
tassert_c.nim --exception:goto switch for deterministic exception handling (#12977) 2020-01-01 10:01:49 +01:00
tdoassert.nim test suite: rename tests containing 'fail' for easier search in logs 2019-11-26 16:04:28 +01:00
testhelper.nim assertions: fixes #11545 (#11605) 2019-07-01 13:19:07 +02:00
trelativeassert.nim assertions: fixes #11545 (#11605) 2019-07-01 13:19:07 +02:00
tunittests.nim Fixed broken test. Added closureScope test. 2016-06-28 13:15:02 +03:00
tuserassert.nim Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00