mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-14 03:39:03 +00:00
Switch to threadsafe death test style
This commit is contained in:
parent
0544a2279b
commit
f1794a8853
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user