CTest: options --repeat until-pass and --rerun-failed don't work with --parallel.
I found that CTest runs test only once even if --repeat until-pass:n
or --rerun-failed
are passed in parallel mode. As a result flaky tests may lead to the fail of the whole run.
In non-parallel mode it works as expected.
Env:
Visual Studio 2017
cmake version 3.21.2