Commit 0a8fa83c authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED test properties should not use string as test name

It seems that it is ok to use quoted test name when using
the WILL_FAIL property, but not when using the DISABLED
property (cmake bug?)
parent 446bb29c
......@@ -31,17 +31,17 @@ camitk_extension(ACTION_EXTENSION
# Applying action Gradient Magnitude With Smoothing...
# camitk-testcomponents aborted by std exception: /usr/include/ITK-4.10/itkRecursiveSeparableImageFilter.hxx:245:
# itk::ERROR: RecursiveGaussianImageFilter(0x55b3b21bc700): The number of pixels along direction 2 is less than 4. This filter requires a minimum of four pixels along the dimension to be processed...
set_tests_properties("action-itkfilters-level1-6" PROPERTIES DISABLED true)
set_tests_properties(action-itkfilters-level1-6 PROPERTIES DISABLED true)
# For input file: cthead1.lsm
# Applying action Gradient Magnitude With Smoothing...
# camitk-testcomponents aborted by std exception: /usr/include/ITK-4.10/itkRecursiveSeparableImageFilter.hxx:245:
# itk::ERROR: RecursiveGaussianImageFilter(0x559652ac6cc0): The number of pixels along direction 2 is less than 4. This filter requires a minimum of four pixels along the dimension to be processed..
set_tests_properties("action-itkfilters-level1-8" PROPERTIES DISABLED true)
set_tests_properties(action-itkfilters-level1-8 PROPERTIES DISABLED true)
# For input file: mini-complex-slow1.nrrd
# Applying action Gradient Magnitude With Smoothing...
# camitk-testcomponents aborted by std exception: /usr/include/ITK-4.10/itkRecursiveSeparableImageFilter.hxx:245:
# itk::ERROR: RecursiveGaussianImageFilter(0x55f942cacac0): The number of pixels along direction 2 is less than 4. This filter requires a minimum of four pixels along the dimension to be processed.
set_tests_properties("action-itkfilters-level1-14" PROPERTIES DISABLED true)
set_tests_properties(action-itkfilters-level1-14 PROPERTIES DISABLED true)
if(WIN32)
message(WARNING "Disabling test action-itkfilters-integration-test\n"
......
......@@ -18,17 +18,17 @@ camitk_extension(COMPONENT_EXTENSION
# Trying to save "biorad.pic" generates the following ITK Exception:
# /build/insighttoolkit4-zpsE3g/insighttoolkit4-4.10.1-dfsg1/Modules/IO/BioRad/src/itkBioRadImageIO.cxx:484:
# itk::ERROR: BioRadImageIO(0x55bf9bc9bb90): Component type not supported.
set_tests_properties("component-itkimage-level3-9" PROPERTIES DISABLED true)
set_tests_properties(component-itkimage-level3-9 PROPERTIES DISABLED true)
# Saving Error: problem occurs while saving file:/home/promayon/Dev/CamiTK/build/camitk/Testing/Temporary/component-itkimage-level3-10/cthead1.lsm: ITK Exception: /build/insighttoolkit4-zpsE3g/insighttoolkit4-4.10.1-dfsg1/Modules/IO/LSM/src/itkLSMImageIO.cxx:275:
# itk::ERROR: LSMImageIO(0x55a165be7310): TIFF supports unsigned char and unsigned short
set_tests_properties("component-itkimage-level3-10" PROPERTIES DISABLED true)
# Test failure due to bad export
set_tests_properties(component-itkimage-level3-10 PROPERTIES DISABLED true)
# Test failure due to bad export (ITK does not save the exact same image it has read by design)
# TODO check why ITK cannot save BigEndian.spr properly
set_tests_properties("component-itkimage-level3-3" PROPERTIES DISABLED true)
set_tests_properties(component-itkimage-level3-3 PROPERTIES DISABLED true)
# TODO check why ITK cannot save LittleEndianZ.hdr properly
set_tests_properties("component-itkimage-level3-19" PROPERTIES DISABLED true)
set_tests_properties(component-itkimage-level3-19 PROPERTIES DISABLED true)
# TODO check why ITK cannot save LittleEndianZ.img.gz properly
set_tests_properties("component-itkimage-level3-20" PROPERTIES DISABLED true)
set_tests_properties(component-itkimage-level3-20 PROPERTIES DISABLED true)
if(WIN32)
message(WARNING "Disabling test component-itkimage-level3-6 component-itkimage-level3-16 and component-itkimage-level3-28\n"
......
......@@ -9,4 +9,4 @@ camitk_extension(COMPONENT_EXTENSION
# --- Specific test management ---
# --------------------------------
# this is a guaranted test failure. Therefore test fail is correct.
set_tests_properties("component-abort-level1-1" PROPERTIES WILL_FAIL true)
set_tests_properties(component-abort-level1-1 PROPERTIES WILL_FAIL true)
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