Skip to content

Commit

Permalink
gtest: always use threadsafe death tests
Browse files Browse the repository at this point in the history
Maybe fixes #2788.
  • Loading branch information
Saviq committed Jan 24, 2023
1 parent 197108d commit 4a3914b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/MirCommon.cmake
Expand Up @@ -155,7 +155,7 @@ function (mir_discover_tests_internal EXECUTABLE TEST_ENV_OPTIONS DETECT_FD_LEAK
endif()

# Final commands
set(test_cmd "${test_cmd}" "--gtest_filter=-${memcheck_exclusion_str}:${test_exclusion_str}")
set(test_cmd "${test_cmd}" "--gtest_death_test_style=threadsafe" "--gtest_filter=-${memcheck_exclusion_str}:${test_exclusion_str}")
set(test_cmd_no_memcheck "${test_cmd_no_memcheck}" "--gtest_death_test_style=threadsafe" "--gtest_filter=${memcheck_exclusion_str}:-${test_exclusion_str}")

# Normal
Expand Down

0 comments on commit 4a3914b

Please sign in to comment.