Skip to content

ctest: Optionally terminate tests with a custom signal on timeout

Brad King requested to merge brad.king/cmake:ctest-timeout-signal into master

CTest normally terminates test processes on timeout using SIGKILL. Offer tests a chance to exit gracefully, on platforms supporting POSIX signals, by setting TIMEOUT_SIGNAL_{NAME,GRACE_PERIOD} properties.

Fixes: #17288 (closed)

Merge request reports