v1.2.4
Small changes and bug fixes:
- Fixed #143: Extraneous failures were reported for
REQUIRE_THROWS_*
macros in case no exception is thrown. - Fixed #145:
CONSTEVAL_*
macros were evaluating their expressions at runtime if the expression was not decomposable. - Fixed #147: color codes were used in the console output in some cases even when
--color never
was specified. - Fixed #149: following sections were sometimes executed after an uncaught exception.
- [Reporter] When an exception is thrown unexpectedly in the test code, the resulting assertion now reports the file/line of the
CHECK*
orREQUIRE*
call that triggered the exception. If the exception is not triggered inside a check macro, then the file/line of the enclosingSECTION
is used instead. If no section is used, then the assertion reverts to the previous behavior (file/line of the test case). See #141. - [Build] Meson scripts now properly set the default symbol visibility with GCC/clang (thanks @topazus)
- [Internal] Renamed
small_function
intofunction_ref
(thanks @tocic)