Commit a39f6c4a authored by Andrew Maclean's avatar Andrew Maclean Committed by Marcus D. Hanwell
Browse files

Converted parametric functions test from Tcl to Python

Restored testing of the parametric functions in computational geometry.

Change-Id: Idd9979b07ec539bc14865259f2db2368558d9f2d
parent 17e36e05
if(VTK_PYTHON_EXE)
set(tests)
if(VTK_DATA_ROOT)
# Tests written in Python that require VTKData
# These tests should use vtk.test.Testing.
set(tests
${tests}
TestParametricFunctions
)
else()
# Tests written in Python that do NOT require VTKData
# These tests should use vtk.test.Testing.
set(tests
${tests}
)
endif()
if(tests)
foreach(tfile ${tests})
add_test(NAME ${vtk-module}Python-${tfile}
COMMAND ${VTK_PYTHON_EXE}
${CMAKE_CURRENT_SOURCE_DIR}/${tfile}.py
-D ${VTK_DATA_ROOT}
-B ${VTK_DATA_ROOT}/Baseline/Graphics)
endforeach()
endif()
else()
message(FATAL_ERROR "No Python tests added!")
endif()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment