[vtk-developers] VTK 5.0 Release status

Prabhu Ramachandran prabhu_r at users.sf.net
Fri Aug 12 14:20:29 EDT 2005


>>>>> "David" == David Cole <david.cole at kitware.com> writes:

    David> Prabhu, 2 action items for you...

    David> This mostly looks good. The test requires rendering, use of
    David> the display and access to VTKData, though, so in the
    David> CMakeLists file, the ADD_TEST should be inside of an IF
    David> construct testing all of these variables, like this:

    David> IF (VTK_PYTHON_EXE AND VTK_USE_RENDERING AND VTK_DATA_ROOT
    David> AND VTK_USE_DISPLAY) ...  ENDIF (VTK_PYTHON_EXE AND
    David> VTK_USE_RENDERING AND VTK_DATA_ROOT AND VTK_USE_DISPLAY)

Thanks for the comments!

I've checked these in but why does one need to check for rendering and
display?  Should not these be checked up-front in
Testing/CMakeLists.txt?

    David> After you configure and build, please try to execute the
    David> test by cd'ing into your binary directory and doing "ctest
    David> -V -R TestImagePlaneWidget-image". That way, you'll know
    David> that the test was actually added given your CMakeLists
    David> file. (And that it does what you expect on your system.)

Thanks for the tip.  Looks like I have to read Testing.txt carefully
again.  I seem to have forgotten.

cheers,
prabhu



More information about the vtk-developers mailing list