mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-14 02:08:27 +08:00

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
15 lines
553 B
ReStructuredText
15 lines
553 B
ReStructuredText
TIMEOUT_SIGNAL_GRACE_PERIOD
|
|
---------------------------
|
|
|
|
.. versionadded:: 3.27
|
|
|
|
If the :prop_test:`TIMEOUT_SIGNAL_NAME` test property is set, this property
|
|
specifies the number of seconds to wait for a test process to terminate after
|
|
sending the custom signal. Otherwise, this property has no meaning.
|
|
|
|
The grace period may be any real value greater than ``0.0``, but not greater
|
|
than ``60.0``. If this property is not set, the default is ``1.0`` second.
|
|
|
|
This is available only on platforms supporting POSIX signals.
|
|
It is not available on Windows.
|