CTest: support printing backtraces on unhandled signals
Some signals such as SIGILL cannot be caught by the process receiving the signal. On at least some platforms it is possible in some situations for parent processes to catch this signal and obtain backtrace information.
CTest should provide a per-test property that allows projects to mark tests they wish backtraces for when those tests are killed by a signal. This might be accomplished by distributing libsegfault with ctest or integrating its approach into ctest itself. Another alternative would be to use ptrace (but see here for a discussion of tradeoffs).