Revert "Prevent deadlocks in death tests."

This reverts commit dfbcee286b9b96751014ebc5ba5290e42796be37.

This was causing unit tests to fail on Gentoo, see comments on
https://reviews.llvm.org/D152696.
This commit is contained in:
Martin Braenne 2023-06-20 07:15:31 +00:00
parent d116f20e37
commit aad5141745

View File

@ -29,10 +29,6 @@ int main(int argc, char **argv) {
true /* Disable crash reporting */);
}
// Use the "threadsafe" test style for death tests -- the "fast" test style
// can cause deadlocks.
testing::GTEST_FLAG(death_test_style) = "threadsafe";
// Initialize both gmock and gtest.
testing::InitGoogleMock(&argc, argv);