ctest --repeat-until-fail does not display the number of tries
When trying to identify an elusive issue, --repeat-until-fail
comes in handy. However it does not show the number of tries until it fails, the output is as follows:
...
Test #1012: VTK::FiltersFlowPathsCxx-TestLagrangianParticleTracker ... Passed 1.37 sec
Start 1012: VTK::FiltersFlowPathsCxx-TestLagrangianParticleTracker
Test #1012: VTK::FiltersFlowPathsCxx-TestLagrangianParticleTracker ...***Failed 1.72 sec
0% tests passed, 1 tests failed out of 1
Label Time Summary:
VTK::FiltersFlowPaths = 1.72 sec*proc (1 test)
vtkFiltersFlowPaths = 1.72 sec*proc (1 test)
Total Test time (real) = 59.93 sec
The following tests FAILED:
1012 - VTK::FiltersFlowPathsCxx-TestLagrangianParticleTracker (Failed)
Errors while running CTest
Which is incorrect.
As a side note, it would also be usefull to have a simple --repeat
option that repeat the test whether it fails or not, before displaying the number of failed and passed tests.