Homec4science

Allow death test child to bypass WER under MinGW

Authored by Tanzinul Islam <t_17_7@hotmail.com> on Jun 19 2017, 02:33.

Description

Allow death test child to bypass WER under MinGW

The mechanics of suppressing debugger trapping and Windows Error Reporting for the crashed child process in a death test are currently guarded under the GTEST_HAS_SEH macro. This seems unnecessary, as the logic does not call any APIs related to Structured Error Handling.

Replace the guarding macro with the more permissive GTEST_OS_WINDOWS, so that Windows toolchains without SEH support (e.g. MinGW) can benefit from it.

Fixes: #1116

Details

Committed
Tanzinul Islam <t_17_7@hotmail.com>Jun 19 2017, 04:12
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:c2d90bddc6a2: Create gtest-internal.h
Branches
Unknown
Tags
Unknown

Event Timeline

Tanzinul Islam <t_17_7@hotmail.com> committed R9484:e49429051272: Allow death test child to bypass WER under MinGW (authored by Tanzinul Islam <t_17_7@hotmail.com>).Jun 19 2017, 04:12