Cloned library of VTK-5.0.0 with extra build files for internal package management.
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.

43 lines
1.3 KiB

2 years ago
IF (VTK_USE_RENDERING)
#
# Add tests, with the data
#
IF (VTK_DATA_ROOT)
FOREACH ( tfile
TestInteractorEventRecorder
)
ADD_TEST(${tfile}-image ${VTK_EXECUTABLE}
${VTK_SOURCE_DIR}/Common/Testing/Tcl/rtImageTest.tcl
${VTK_SOURCE_DIR}/Widgets/Testing/Tcl/${tfile}.tcl
-D ${VTK_DATA_ROOT}
-V Baseline/Widgets/${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
)
ADD_TEST(${tfile}-image ${VTK_EXECUTABLE}
${VTK_SOURCE_DIR}/Common/Testing/Tcl/rtImageTest.tcl
${VTK_SOURCE_DIR}/Widgets/Testing/Tcl/${tfile}.tcl
-D ${VTK_DATA_ROOT}
-T ${VTK_BINARY_DIR}/Testing/Temporary
-V Baseline/Widgets/${tfile}.png
-A ${VTK_SOURCE_DIR}/Wrapping/Tcl)
ENDFOREACH( tfile )
ENDIF (VTK_DATA_ROOT)
ENDIF (VTK_USE_RENDERING)
ADD_TEST(PrintSelf-Widgets ${TCL_TCLSH}
${VTK_SOURCE_DIR}/Common/Testing/Tcl/PrintSelfCheck.tcl
${VTK_SOURCE_DIR}/Widgets)
ADD_TEST(TestSetObjectMacro-Widgets ${TCL_TCLSH}
${VTK_SOURCE_DIR}/Common/Testing/Tcl/FindString.tcl
"${VTK_SOURCE_DIR}/Widgets/vtk\\\\*.h"
"vtkSetObjectMacro")