You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
2.3 KiB
96 lines
2.3 KiB
IF (VTK_USE_RENDERING AND VTK_USE_DISPLAY)
|
|
|
|
#
|
|
# Add tests, with the data
|
|
#
|
|
IF (VTK_DATA_ROOT)
|
|
FOREACH ( tfile
|
|
3DMorph
|
|
appendImplicitModel
|
|
appendImplicitModelNoBounds
|
|
banana
|
|
bore
|
|
camera
|
|
clipHex
|
|
clipPyramid
|
|
clipTet
|
|
clipWedge
|
|
cubeAxes
|
|
depthSort
|
|
earth
|
|
imageToPolyData
|
|
financialField2
|
|
financialField3
|
|
largeImageOffset
|
|
largeImageParallel
|
|
MassProperties
|
|
OverlayTextOnImage
|
|
TestCaptionActor
|
|
TestFacetReader
|
|
TestGreedyTerrainDecimation
|
|
TestGridWarp3D
|
|
TestGridWarpCubic
|
|
TestGridWarpLinear
|
|
TestGridWarpNearest
|
|
TestICPTransform
|
|
TestImageStencilWithPolydata
|
|
TestPCA
|
|
TestProcrustes
|
|
TestProjectedTerrainPath
|
|
TestThinPlateWarp
|
|
TestThinPlateWarp3D
|
|
text
|
|
VRMLImporter
|
|
WarpPolyData
|
|
xyPlot
|
|
xyPlot2
|
|
xyPlot3
|
|
xyPlot4
|
|
)
|
|
ADD_TEST(${tfile}-image ${VTK_EXECUTABLE}
|
|
${VTK_SOURCE_DIR}/Common/Testing/Tcl/rtImageTest.tcl
|
|
${VTK_SOURCE_DIR}/Hybrid/Testing/Tcl/${tfile}.tcl
|
|
-D ${VTK_DATA_ROOT}
|
|
-V Baseline/Hybrid/${tfile}.png
|
|
-A ${VTK_SOURCE_DIR}/Wrapping/Tcl)
|
|
ENDFOREACH( tfile )
|
|
#
|
|
# If we do not have the data, still run the tests that we can
|
|
#
|
|
ELSE (VTK_DATA_ROOT)
|
|
FOREACH ( tfile
|
|
3DMorph
|
|
banana
|
|
camera
|
|
clipHex
|
|
clipPyramid
|
|
clipTet
|
|
clipWedge
|
|
depthSort
|
|
MassProperties
|
|
TestICPTransform
|
|
TestPCA
|
|
TestProcrustes
|
|
text
|
|
WarpPolyData
|
|
)
|
|
ADD_TEST(${tfile}-image ${VTK_EXECUTABLE}
|
|
${VTK_SOURCE_DIR}/Common/Testing/Tcl/rtImageTest.tcl
|
|
${VTK_SOURCE_DIR}/Hybrid/Testing/Tcl/${tfile}.tcl
|
|
-D ${VTK_DATA_ROOT}
|
|
-T ${VTK_BINARY_DIR}/Testing/Temporary
|
|
-V Baseline/Hybrid/${tfile}.png
|
|
-A ${VTK_SOURCE_DIR}/Wrapping/Tcl)
|
|
ENDFOREACH( tfile )
|
|
ENDIF (VTK_DATA_ROOT)
|
|
|
|
ENDIF (VTK_USE_RENDERING AND VTK_USE_DISPLAY)
|
|
|
|
ADD_TEST(PrintSelf-Hybrid ${TCL_TCLSH}
|
|
${VTK_SOURCE_DIR}/Common/Testing/Tcl/PrintSelfCheck.tcl
|
|
${VTK_SOURCE_DIR}/Hybrid)
|
|
|
|
ADD_TEST(TestSetObjectMacro-Hybrid ${TCL_TCLSH}
|
|
${VTK_SOURCE_DIR}/Common/Testing/Tcl/FindString.tcl
|
|
"${VTK_SOURCE_DIR}/Hybrid/vtk\\\\*.h"
|
|
"vtkSetObjectMacro")
|
|
|