Commit 7b483530 authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED remove build subproject test as it always fails

Also fixes cosmetics and comments
parent 15033ab0
......@@ -174,16 +174,11 @@ foreach(subproject ${CAMITK_SUBPROJECTS})
ctest_build()
ctest_submit(PARTS Build)
# building binary for testing
message(STATUS "- Building tests for ${subproject}...")
set(CTEST_BUILD_TARGET ${subproject}test)
ctest_build()
# Run tests
# run tests
message(STATUS "- Running tests for ${subproject}...")
ctest_test(BUILD "${CTEST_BINARY_DIRECTORY}" INCLUDE_LABEL "${subproject}")
ctest_submit(PARTS Test)
endforeach()
endforeach()
# ------------------------ STEP 4: Test coverage ------------------------
message(STATUS "- Running test coverage ${subproject}...")
......
......@@ -99,6 +99,7 @@ macro(camitk_additional_action_test)
camitk_init_test(camitk-testactions)
endif()
# add a separator to the wiki page information
camitk_parse_test_add_separator(EXTENSION_TYPE actions EXTENSION_NAME ${ACTION_EXTENSION})
# Retrieve the files in testdata directory - a test will be applied for each of these files
......@@ -119,6 +120,7 @@ macro(camitk_additional_action_test)
TEST_SUFFIX "-additional-${CAMITK_ADDITIONAL_ACTION_TEST_SUFFIX}-level1-"
PROJECT_NAME "action-${ACTION_EXTENSION}"
)
# add test to the wiki page information
camitk_parse_test_add(NAME ${CAMITK_TEST_NAME} LEVEL 1 DESCRIPTION "Open a file, load the action and apply it on the component.")
endforeach()
......
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