test: add a filter for iteration

Debugging is easier if we can explicitly run a single iteration only.
This filter could be a range but for now it's sufficient to be able to
run a single test only.
This commit is contained in:
Peter Hutterer 2021-10-07 13:49:28 +10:00 committed by Wim Taymans
parent 82de0613d6
commit 3f6521819f
2 changed files with 16 additions and 0 deletions

View file

@ -141,6 +141,9 @@ extern "C" {
* Disabling forking makes it easy to debug but should always be used with
* `--filter-test`. Any test that modifies its environment will affect
* subsequent tests and may invalidate the test results.
*
* Where a test has multiple iterations, use `--filter-iteration` to only run
* one single iteration.
*/
/**