This allows early exit of the project tests once a certain number of failures are detected. For example `meson test --maxfail=1` will abort as soon as a single test fails. Currently running tests are marked as failed via INTERRUPT. Resolves #9352pull/10837/head
parent
bed5b31079
commit
462759dd33
2 changed files with 12 additions and 0 deletions
@ -0,0 +1,6 @@ |
||||
## Option to allow meson test to fail fast after the first failing testcase |
||||
|
||||
`meson test --maxfail=1` will now cause all pending or in-progress tests to be |
||||
canceled or interrupted after 1 test is marked as failing. This can be used for |
||||
example to quit a CI run and avoid burning additional time as soon as it is |
||||
known that the overall return status will be failing. |
Loading…
Reference in new issue