Reference
Specify a list of additional arguments to pass to ctest e.g.: ctest_args: [‘--repeat until-pass:5’]. Note that --ctest-args can be passed multiple times to pass several arguments to the ctest.
ctest
ctest_args: [‘--repeat until-pass:5’]
--ctest-args