diff --git a/test/test-main.cc b/test/test-main.cc index b69cc500..268ed086 100644 --- a/test/test-main.cc +++ b/test/test-main.cc @@ -35,6 +35,7 @@ int main(int argc, char** argv) { _CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR); try { testing::InitGoogleTest(&argc, argv); + testing::FLAGS_gtest_death_test_style = "threadsafe"; return RUN_ALL_TESTS(); } catch (...) { // Catch all exceptions to make Coverity happy.