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

NEW more additional action test from CEP components

parent 7b2261fb
......@@ -9,3 +9,7 @@ camitk_extension(COMPONENT_EXTENSION
TEST_FILES diaphragm.pml truthcube.pml
)
# Additional test for SDK actions: this will add auto test for the given actions using the pmlcomponent
camitk_additional_action_test(ACTION_EXTENSIONS basicmesh basictopology meshprocessing
TEST_FILES diaphragm.pml truthcube.pml
)
......@@ -65,13 +65,13 @@ macro(camitk_additional_action_test)
if (NOT EXISTS ${EXTENSION_PLUGIN_FILE})
set(EXTENSION_PLUGIN_FILE ${CAMITK_PRIVATE_LIB_DIR}/${EXTENSION_FILE})
if (NOT EXISTS ${EXTENSION_PLUGIN_FILE})
message(SEND_ERROR "Action extension \"${ACTION_EXTENSION}\" not found: no additional test added")
message(SEND_ERROR "Action extension \"${ACTION_EXTENSION}\" not found: no additional test added from component extension \"${EXTENSION_NAME}\"")
return()
endif()
endif()
endif()
message(STATUS "Adding additional test for action extension: ${ACTION_EXTENSION}")
message(STATUS "Adding additional test for action extension from component extension \"${EXTENSION_NAME}\": ${ACTION_EXTENSION}")
if (CAMITK_SDK_BUILD)
camitk_init_test(application-testactions)
else()
......
......@@ -5,7 +5,7 @@ camitk_extension(COMPONENT_EXTENSION
AUTO_TEST
# only .mixed is managed by this component, but as mha and vtk data file are needed as well
# there is only brain.mixed to test.
TEST_FILES brain.mixed
TEST_FILES brain.mixed
# save is not implemented, just do level 1 test
AUTO_TEST_LEVEL 1
)
......@@ -8,3 +8,6 @@ camitk_extension( COMPONENT_EXTENSION
AUTO_TEST_LEVEL 1
)
# Additional test for SDK actions: this will add auto test for the given actions using the pmlcomponent
camitk_additional_action_test(ACTION_EXTENSIONS basicmesh basictopology meshprocessing
)
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