summaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-manual.md
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2021-01-25 14:12:05 -0500
committerXavier Claessens <xclaesse@gmail.com>2021-01-27 08:26:20 -0500
commite4137ae3eca0c73e8c19ea84d9a203ddb065f0d8 (patch)
treedd0f36ed09f5d9978fc5a71dae4fa97c70e1358e /docs/markdown/Reference-manual.md
parente6ab364a69f2e5a8b0692da926af1e19f4f28734 (diff)
downloadmeson-e4137ae3eca0c73e8c19ea84d9a203ddb065f0d8.tar.gz
test: Make timeout <= 0 infinite duraction
Diffstat (limited to 'docs/markdown/Reference-manual.md')
-rw-r--r--docs/markdown/Reference-manual.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md
index cb8347a2e..4a1e75942 100644
--- a/docs/markdown/Reference-manual.md
+++ b/docs/markdown/Reference-manual.md
@@ -119,7 +119,9 @@ the following:
environment juggling. *(since 0.52.0)* A dictionary is also accepted.
- `exe_wrapper`: a list containing the wrapper command or script followed by the arguments to it
- `gdb`: if `true`, the tests are also run under `gdb`
-- `timeout_multiplier`: a number to multiply the test timeout with
+- `timeout_multiplier`: a number to multiply the test timeout with.
+ *Since 0.57* if timeout_multiplier is `<= 0` the test has infinite duration,
+ in previous versions of Meson the test would fail with a timeout immediately.
- `is_default` *(since 0.49.0)*: a bool to set whether this is the default test setup.
If `true`, the setup will be used whenever `meson test` is run
without the `--setup` option.
@@ -1730,7 +1732,8 @@ test(..., env: nomalloc, ...)
- `timeout`: the amount of seconds the test is allowed to run, a test
that exceeds its time limit is always considered failed, defaults to
- 30 seconds
+ 30 seconds. *Since 0.57* if timeout is `<= 0` the test has infinite duration,
+ in previous versions of Meson the test would fail with a timeout immediately.
- `workdir`: absolute path that will be used as the working directory
for the test