aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/test_timeout.md
blob: e436d2efa2ec9191ccfb3a3d016536c310dfdee5 (plain)
1
2
3
4
5
6
7
8
9
## `test()` timeout and timeout_multiplier value <= 0

`test(..., timeout: 0)`, or negative value, used to abort the test immediately
but now instead allow infinite duration. Note that omitting the `timeout`
keyword argument still defaults to 30s timeout.

Likewise, `add_test_setup(..., timeout_multiplier: 0)`, or
`meson test --timeout-multiplier 0`, or negative value, disable tests timeout.