From 87b4b0d4e70b0188af58dfb66fe2fb4f1b54ba38 Mon Sep 17 00:00:00 2001 From: CLanguagePurist <107034654+CLanguagePurist@users.noreply.github.com> Date: Tue, 21 Jun 2022 12:49:12 -0600 Subject: [PATCH] Update Unit-tests.md (#10515) --- docs/markdown/Unit-tests.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/markdown/Unit-tests.md b/docs/markdown/Unit-tests.md index c2cbc71ca..80f0dc11f 100644 --- a/docs/markdown/Unit-tests.md +++ b/docs/markdown/Unit-tests.md @@ -234,6 +234,14 @@ other useful information as the environmental variables. This is useful, for example, when you run the tests on Travis-CI, Jenkins and the like. +**Timeout** + +In the test case options, the `timeout` option is specified in a number of seconds. + +To disable timeout in test cases, add `timeout: 0` or negative value to allow infinite duration for test case to completes. Alternatively, `timeout_multiplier: 0` accomplish the same functionality as `timeout: 0`. + +For running test, you can specify command line argument for overriding timeout as well by supplying `--timeout-multiplier 0` command line argument. + For further information see the command line help of Meson by running `meson test -h`.