Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 6541e42e authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED this is a great example to fix the exception management

This test results in an exception from ITK. testaction is now
better at handling exeption (no crash), but imp is (yet) not...
This test property should be kept until imp is able to handle
this exception properly (i.e., without crashing) too.
parent 8ff3ccb0
......@@ -16,7 +16,11 @@ camitk_extension( ACTION_EXTENSION
DESCRIPTION "This action features basic ITK image processing filters"
TEST_APPLICATION ${APPLICATION_TEST_ACTION}
DEFINES COMPILE_ITKFILTER_API
TEST_FILES bassin.msh BigEndian.hdr BigEndian.img BigEndianCompressed1.hdr BigEndianCompressed1.img brain.mha diaphragm.pml head1.STL LittleEndian1.hdr LittleEndian1.img LittleEndianCompressed1.hdr LittleEndianCompressed1.img LittleEndianZ1.hdr liver-smooth.obj Mesh.off mini-ten-nomask-slow1.nrrd mini-vector-slow1.nrrd mixed_3D_beam.msh ramp1.gipl robot.wrl scissors.obj simple.vtk sinus_skin.vtk sinus_skull.vtk skull1.stl structured.vtk testrgba.nrrd truthcube.pml
TEST_FILES bassin.msh BigEndian.hdr BigEndian.img BigEndianCompressed1.hdr BigEndianCompressed1.img brain.mha diaphragm.pml head1.STL LittleEndian1.hdr LittleEndian1.img LittleEndianCompressed1.hdr LittleEndianCompressed1.img LittleEndianZ1.hdr liver-smooth.obj Mesh.off mini-ten-nomask-slow1.nrrd mini-vector-slow1.nrrd mixed_3D_beam.msh ramp1.gipl robot.wrl scissors.obj simple.vtk sinus_skin.vtk sinus_skull.vtk skull1.stl structured.vtk testrgba1.nrrd truthcube.pml
)
#TODO fix this (good example of exception handling coming from itk!)
if(NOT PACKAGING_NSIS AND BUILD_TESTING)
set_tests_properties("action-itkfilters-level1-27" PROPERTIES WILL_FAIL true)
endif()
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