[CMake] Get corefile from timed out tests with ctest?

Leif Walsh leif.walsh at gmail.com
Fri Nov 2 10:05:04 EDT 2012


When a test times out, I want to inspect its state to look for deadlocks. Is there a way to get ctest to save a corefile from a process it kills due to timing out? Is there a way to configure it to use a custom signal that I can catch in my tests?

I may have asked this before. I remember ctest uses uncatchable signals to kill tests in the event of a timeout. 

Sent from my iPhone


More information about the CMake mailing list