[vtk-developers] IO Test not getting registered?

David Doria daviddoria at gmail.com
Mon Apr 11 17:32:05 EDT 2011


On Mon, Apr 11, 2011 at 5:19 PM, David Partyka
<david.partyka at kitware.com> wrote:
> Sometimes those tests won't show up unless you set VTK_DATA_ROOT? I didn't
> dig into the code, just thinking off the top of my head.
>
> On Mon, Apr 11, 2011 at 5:15 PM, David Doria <daviddoria at gmail.com> wrote:
>>
>> I am trying to add a test:
>>
>> http://review.source.kitware.com/#patch,sidebyside,1371,1,IO/Testing/Cxx/CMakeLists.txt
>>
>> but for some reason the test doesn't seem to get registered::
>> [doriad at doriadjec VTK]$ ctest -R SimplePointsReaderWriter Test project
>> /home/doriad/bin/VTK
>>
>> says
>>
>> No tests were found!!!
>>
>> Do I need to do something else to register the test?
>>
>> Thanks,
>>
>> David

Hm, another test, TestCompress.cxx, is in the same

CREATE_TEST_SOURCELIST(Tests ${KIT}CxxTests.cxx

and runs no problem, so I don't think something like being guarded by
VTK_DATA_ROOT is the problem.

David



More information about the vtk-developers mailing list