Skip to content
Snippets Groups Projects
Commit 50014b11 authored by Julien Malik's avatar Julien Malik
Browse files

TEST: add a batch test showing the PyQt GUI of each application

parent ed37ef1a
No related branches found
No related tags found
No related merge requests found
......@@ -12,4 +12,19 @@ add_test( NAME pqTvSmoothing
add_test( NAME pqTvRescale
COMMAND ${TEST_DRIVER} Execute
${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PyQtTest.py
Rescale )
\ No newline at end of file
Rescale )
foreach(app ${OTB_APPLICATIONS_NAME_LIST})
add_test(NAME pqTvShow_${app}
COMMAND otbTestDriver
--add-before-env PYTHONPATH "${CMAKE_BINARY_DIR}/Code/Wrappers/SWIG"
--add-before-env PYTHONPATH $<TARGET_FILE_DIR:_otbApplication>
--add-before-env PYTHONPATH "${CMAKE_SOURCE_DIR}/Code/Wrappers/PyQt"
--add-before-env ITK_AUTOLOAD_PATH $<TARGET_FILE_DIR:otbapp_${app}>
Execute ${PYTHON_EXECUTABLE}
${CMAKE_CURRENT_SOURCE_DIR}/PyQtTest.py
${app})
endforeach(app)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment