From aad51417452432092258034c55537a7092fa6295 Mon Sep 17 00:00:00 2001 From: Martin Braenne Date: Tue, 20 Jun 2023 07:15:31 +0000 Subject: [PATCH] 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. --- third-party/unittest/UnitTestMain/TestMain.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/third-party/unittest/UnitTestMain/TestMain.cpp b/third-party/unittest/UnitTestMain/TestMain.cpp index c1fb848..35ba72b 100644 --- a/third-party/unittest/UnitTestMain/TestMain.cpp +++ b/third-party/unittest/UnitTestMain/TestMain.cpp @@ -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); -- 2.7.4