Commit d2eda58c authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED move bash test to specific test dir resources

parent 1d32a1f3
......@@ -51,5 +51,5 @@ camitk_add_test(EXECUTABLE_ARGS "-f ${CMAKE_CURRENT_SOURCE_DIR}/main.cpp -d badd
find_program (BASH_PROGRAM bash)
if (BASH_PROGRAM)
# use "ctest -VV -R cepgenerator-test" to run just this test
add_test(cepgenerator-test-shell ${BASH_PROGRAM} ${CMAKE_CURRENT_SOURCE_DIR}/resources/cepgenerator-test.sh -inbuild ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR})
add_test(${APPLICATION_TARGET_NAME}-bash-test ${BASH_PROGRAM} ${CMAKE_CURRENT_SOURCE_DIR}/test/cepgenerator-test.sh -inbuild ${PROJECT_BINARY_DIR} ${PROJECT_SOURCE_DIR})
endif (BASH_PROGRAM)
......@@ -16,5 +16,5 @@ set(SHIBOKEN_CAMITK_SDK_PATH ${SHIBOKEN_CAMITK_SDK_PATH}:${CMAKE_CURRENT_SOURCE_
# Add config test
find_program (BASH_PROGRAM bash)
if (BASH_PROGRAM)
add_test(config-test-shell ${BASH_PROGRAM} ${CMAKE_CURRENT_SOURCE_DIR}/resources/config-test.sh -inbuild ${PROJECT_BINARY_DIR})
add_test(${APPLICATION_TARGET_NAME}-bash-test ${BASH_PROGRAM} ${CMAKE_CURRENT_SOURCE_DIR}/test/config-test.sh -inbuild ${PROJECT_BINARY_DIR})
endif (BASH_PROGRAM)
Supports Markdown
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