Skip to content
Snippets Groups Projects
Commit 235f5df2 authored by Otmane Lahlou's avatar Otmane Lahlou
Browse files

ENH : otbTestDriver was not found, use the complete path

parent 04e09c36
Branches
Tags
No related merge requests found
......@@ -68,18 +68,18 @@ ADD_TEST(coTuConfigurationTestDEM ${COMMON_TESTS1}
)
ADD_TEST(coTuConfigurationTestDEM_WithConfigFile otbTestDriver
ADD_TEST(coTuConfigurationTestDEM_WithConfigFile ${EXECUTABLE_OUTPUT_PATH}/otbTestDriver
--add-before-env OTB_CONFIG_FILE ${CMAKE_BINARY_DIR}/Testing/otbconf_OK
Execute ${COMMON_TESTS1}
otbConfigurationTestDEM
${OTB_DATA_ROOT}/Input/DEM/srtm_directory
)
ADD_TEST(coTuConfigurationTestDEM_WithWrongConfigFile otbTestDriver
ADD_TEST(coTuConfigurationTestDEM_WithWrongConfigFile ${EXECUTABLE_OUTPUT_PATH}/otbTestDriver
--add-before-env OTB_CONFIG_FILE ${CMAKE_BINARY_DIR}/Testing/otbconf_NotOK
Execute ${COMMON_TESTS1}
otbConfigurationTestDEM
)
ADD_TEST(coTuConfigurationTestDEM_WithNonExistantConfigFile otbTestDriver
ADD_TEST(coTuConfigurationTestDEM_WithNonExistantConfigFile ${EXECUTABLE_OUTPUT_PATH}/otbTestDriver
--add-before-env OTB_CONFIG_FILE ${CMAKE_BINARY_DIR}/Testing/otbconf_NonExistant
Execute ${COMMON_TESTS1}
otbConfigurationTestDEM
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment