From 6c34c97e296a78990903a9ed3645804b400b307b Mon Sep 17 00:00:00 2001 From: Aaron Jomy Date: Wed, 6 May 2026 17:43:32 +0200 Subject: [PATCH] [cppinterop] Use threadsafe death-test style in TracingTests --- interpreter/CppInterOp/unittests/CppInterOp/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/interpreter/CppInterOp/unittests/CppInterOp/CMakeLists.txt b/interpreter/CppInterOp/unittests/CppInterOp/CMakeLists.txt index b2653d8047e10..6a50260279fad 100644 --- a/interpreter/CppInterOp/unittests/CppInterOp/CMakeLists.txt +++ b/interpreter/CppInterOp/unittests/CppInterOp/CMakeLists.txt @@ -85,6 +85,10 @@ add_cppinterop_unittest(TracingTests TracingTests.cpp Utils.cpp ) + +set_property(TEST cppinterop-TracingTests APPEND PROPERTY + ENVIRONMENT "GTEST_DEATH_TEST_STYLE=threadsafe") + target_compile_definitions(TracingTests PRIVATE "CPPINTEROP_DIR=\"${CMAKE_CURRENT_SOURCE_DIR}/../../\"" )