I am having a problem with unit tests failing randomly with seg faults and I cant figure out how to generate core dumps from those tests.
I am using cmake and ctest 3.21.1 to run those tests, and the tests are written using the gtest framework.
I dont believe it is a problem with the environment of my system, I can make a small c++ program that segfaults and generate a core dump. The problem is generating core dumps from tests ran using ctest.