1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00
Files
CMake/Help/prop_test/TIMEOUT_SIGNAL_GRACE_PERIOD.rst
Brad King 54c5654f7d ctest: Optionally terminate tests with a custom signal on timeout
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
2023-06-02 06:51:13 -04:00

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.