cmake_test/register_exception_handler

Warning

This module requires cmake_test/overrides, and so will override the message() command upon inclusion.

Attention

This module is intended for internal use only.

cmake_test/register_exception_handler.ct_register_exception_handler()

Defines the exception handler and registers it with CMakePP.

The exception handler stores exception information about the currently running test, then re-executes ct_exec_tests() so that all remaining tests are ran. Once all tests are ran, all exceptions are looped over and printed before the interpreter is forceably shutdown.