[vtk-developers] Non-reproducable test failure

David Lonie david.lonie at kitware.com
Wed Aug 17 11:47:28 EDT 2016


On Wed, Aug 17, 2016 at 11:37 AM, Zack Galbreath
<zack.galbreath at kitware.com> wrote:
> 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

Is that compatible with -j? (e.g. will it run the same test
concurrently with itself?)


More information about the vtk-developers mailing list