aboutsummaryrefslogtreecommitdiff
path: root/third-party
diff options
context:
space:
mode:
authorMartin Braenne <mboehme@google.com>2023-06-20 07:15:31 +0000
committerMartin Braenne <mboehme@google.com>2023-06-20 07:39:31 +0000
commitaad51417452432092258034c55537a7092fa6295 (patch)
tree1c59be29262c6e1c308ec7a29337025fb3bdabd6 /third-party
parentd116f20e37d96bf5ee847053ad77aec02f7167bd (diff)
downloadllvm-aad51417452432092258034c55537a7092fa6295.zip
llvm-aad51417452432092258034c55537a7092fa6295.tar.gz
llvm-aad51417452432092258034c55537a7092fa6295.tar.bz2
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.
Diffstat (limited to 'third-party')
-rw-r--r--third-party/unittest/UnitTestMain/TestMain.cpp4
1 files changed, 0 insertions, 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);