Skip to content
Snippets Groups Projects
Commit 99d20ace authored by Antoine Regimbeau's avatar Antoine Regimbeau
Browse files

Merge branch 'numpy_optional_test' into 'develop'

Test using numpy

See merge request orfeotoolbox/otb!409
parents e0b877d1 dcfa0af1
Branches
Tags
No related merge requests found
......@@ -98,6 +98,8 @@ add_test( NAME pyTvBandMathInXML
set_tests_properties(pyTvBandMathInXML PROPERTIES DEPENDS pyTvBandMathOutXML)
if ( NUMPY_FOUND )
add_test( NAME pyTvNumpyIO
COMMAND ${TEST_DRIVER} Execute
${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PythonTestDriver.py
......@@ -105,6 +107,16 @@ add_test( NAME pyTvNumpyIO
${OTB_DATA_ROOT}/Input/ROI_QB_MUL_1_SVN_CLASS_MULTI.png
${TEMP}/pyTvNumpyIO_SmoothingOut.png )
add_test( NAME pyTvImageInterface
COMMAND ${TEST_DRIVER} Execute
${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PythonTestDriver.py
PythonImageInterface
${OTB_DATA_ROOT}/Input/QB_Toulouse_Ortho_XS.tif
)
endif()
add_test( NAME pyTvNewStyleParameters
COMMAND ${TEST_DRIVER} Execute
${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PythonTestDriver.py
......@@ -138,10 +150,3 @@ add_test( NAME pyTvParametersDict
${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PythonTestDriver.py
PythonParametersDict
${OTB_DATA_ROOT}/Input/poupees.tif)
add_test( NAME pyTvImageInterface
COMMAND ${TEST_DRIVER} Execute
${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PythonTestDriver.py
PythonImageInterface
${OTB_DATA_ROOT}/Input/QB_Toulouse_Ortho_XS.tif
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment