[vtk-developers] Non-reproducable test failure

Zack Galbreath zack.galbreath at kitware.com
Wed Aug 17 11:37:27 EDT 2016


On Wed, Aug 17, 2016 at 11:05 AM, Sean McBride <sean at rogue-research.com>
wrote:

> So I just tried this shell script:
>
> for run in {1..30}
> do
>   ctest -R vtkRenderingVolumeCxx-TestRemoveVolumeNonCurrentContext &
> done
>
> and now it repros fairly often.  Maybe that'll work on your machine too...
>

ctest now has a command-line argument to help shake out flaky tests like
this.  No shell script needed:

--repeat-until-fail <n>
Require each test to run <n> times without failing in order to pass
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160817/fedb338e/attachment.html>


More information about the vtk-developers mailing list