mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-31 03:07:36 +02:00
Switch to threadsafe death test style
This commit is contained in:
@ -35,6 +35,7 @@ int main(int argc, char** argv) {
|
|||||||
_CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);
|
_CrtSetReportFile(_CRT_ASSERT, _CRTDBG_FILE_STDERR);
|
||||||
try {
|
try {
|
||||||
testing::InitGoogleTest(&argc, argv);
|
testing::InitGoogleTest(&argc, argv);
|
||||||
|
testing::FLAGS_gtest_death_test_style = "threadsafe";
|
||||||
return RUN_ALL_TESTS();
|
return RUN_ALL_TESTS();
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
// Catch all exceptions to make Coverity happy.
|
// Catch all exceptions to make Coverity happy.
|
||||||
|
Reference in New Issue
Block a user