OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
cmake-3.10
/
Help
/
prop_test
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/28/2024 06:00:25 AM
rwxr-xr-x
📄
ATTACHED_FILES.rst
206 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
ATTACHED_FILES_ON_FAIL.rst
218 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
COST.rst
235 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
DEPENDS.rst
467 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
DISABLED.rst
690 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
ENVIRONMENT.rst
319 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
FAIL_REGULAR_EXPRESSION.rst
406 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
FIXTURES_CLEANUP.rst
1.83 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
FIXTURES_REQUIRED.rst
4.8 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
FIXTURES_SETUP.rst
1.89 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
LABELS.rst
117 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
MEASUREMENT.rst
268 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
PASS_REGULAR_EXPRESSION.rst
483 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
PROCESSORS.rst
574 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
REQUIRED_FILES.rst
155 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
RESOURCE_LOCK.rst
277 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
RUN_SERIAL.rst
229 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
SKIP_RETURN_CODE.rst
325 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
TIMEOUT.rst
318 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
TIMEOUT_AFTER_MATCH.rst
1.39 KB
01/18/2018 02:48:42 PM
rw-r--r--
📄
WILL_FAIL.rst
184 bytes
01/18/2018 02:48:42 PM
rw-r--r--
📄
WORKING_DIRECTORY.rst
185 bytes
01/18/2018 02:48:42 PM
rw-r--r--
Editing: TIMEOUT_AFTER_MATCH.rst
Close
TIMEOUT_AFTER_MATCH ------------------- Change a test's timeout duration after a matching line is encountered in its output. Usage ^^^^^ .. code-block:: cmake add_test(mytest ...) set_property(TEST mytest PROPERTY TIMEOUT_AFTER_MATCH "${seconds}" "${regex}") Description ^^^^^^^^^^^ Allow a test ``seconds`` to complete after ``regex`` is encountered in its output. When the test outputs a line that matches ``regex`` its start time is reset to the current time and its timeout duration is changed to ``seconds``. Prior to this, the timeout duration is determined by the :prop_test:`TIMEOUT` property or the :variable:`CTEST_TEST_TIMEOUT` variable if either of these are set. Because the test's start time is reset, its execution time will not include any time that was spent waiting for the matching output. :prop_test:`TIMEOUT_AFTER_MATCH` is useful for avoiding spurious timeouts when your test must wait for some system resource to become available before it can execute. Set :prop_test:`TIMEOUT` to a longer duration that accounts for resource acquisition and use :prop_test:`TIMEOUT_AFTER_MATCH` to control how long the actual test is allowed to run. If the required resource can be controlled by CTest you should use :prop_test:`RESOURCE_LOCK` instead of :prop_test:`TIMEOUT_AFTER_MATCH`. This property should be used when only the test itself can determine when its required resources are available.