aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCLanguagePurist <107034654+CLanguagePurist@users.noreply.github.com>2022-06-21 12:49:12 -0600
committerGitHub <noreply@github.com>2022-06-21 21:49:12 +0300
commit87b4b0d4e70b0188af58dfb66fe2fb4f1b54ba38 (patch)
tree7a7ba78cc33d59c5883ba87db33e46680dbb0f4c
parent6e7c3efa793c25259891d3b5471343f95fb061fa (diff)
downloadmeson-87b4b0d4e70b0188af58dfb66fe2fb4f1b54ba38.zip
meson-87b4b0d4e70b0188af58dfb66fe2fb4f1b54ba38.tar.gz
meson-87b4b0d4e70b0188af58dfb66fe2fb4f1b54ba38.tar.bz2
Update Unit-tests.md (#10515)
-rw-r--r--docs/markdown/Unit-tests.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/markdown/Unit-tests.md b/docs/markdown/Unit-tests.md
index c2cbc71..80f0dc1 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`.