catch2/tests/SelfTest
Alan Jowett 98a6c69e1e Switch from AddVectoredExceptionHandler to SetUnhandledExceptionFilter
This avoids issues with Catch2's handler firing too early, on
structured exceptions that would be handled later. This issue
meant that the old attempts at structured exception handling
were incompatible with Windows's ASan, because it throws
continuable `C0000005` exception, which it then handles.

With the new handling, Catch2 is only notified if nothing else,
including the debugger, has handled the exception.

Signed-off-by: Alan Jowett <alanjo@microsoft.com>

Closes #2332
Closes #2286
Closes #898
2022-01-03 22:50:32 +01:00
..
Baselines Add more unit tests 2022-01-01 14:10:52 +01:00
IntrospectiveTests Improve error handling in parsing reporter specs 2022-01-01 14:16:11 +01:00
Misc Move tests from projects/ to tests/ 2019-12-05 16:00:20 +01:00
TimingTests Increase timing window for min duration tests to 1s 2021-02-20 23:09:02 +01:00
UsageTests Switch from AddVectoredExceptionHandler to SetUnhandledExceptionFilter 2022-01-03 22:50:32 +01:00
TestRegistrations.cpp Sweep out some Wsign-conversion warnings 2021-11-23 23:16:08 +01:00