diff options
Diffstat (limited to 'tests/main.cpp')
| -rw-r--r-- | tests/main.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/main.cpp b/tests/main.cpp index a14e8e99..31131426 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -26,18 +26,6 @@ int main(int argc, char **argv) { int result; -#if defined(_WIN32) -#if !defined(NDEBUG) - _CrtSetReportMode(_CRT_WARN, _CRTDBG_MODE_FILE); - _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR); -#endif - // Avoid "Abort, Retry, Ignore" dialog boxes - _set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT); - SetErrorMode(SEM_FAILCRITICALERRORS | SEM_NOGPFAULTERRORBOX); - _CrtSetReportMode(_CRT_ASSERT, _CRTDBG_MODE_FILE); - _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR); -#endif - ::testing::InitGoogleTest(&argc, argv); result = RUN_ALL_TESTS(); |
