X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Testing%2FCMakeLists.txt;h=994e37bef00776e6ab8ba43c81b797afc6294562;hb=a331d5552949298f5d59b7a7bd78552a875a0214;hp=b5fe49783282faa1889e06f658da15f11e5d42df;hpb=37e7233f579ea334052dadb14685f556d12be7e2;p=gdcm.git diff --git a/Testing/CMakeLists.txt b/Testing/CMakeLists.txt index b5fe4978..994e37be 100644 --- a/Testing/CMakeLists.txt +++ b/Testing/CMakeLists.txt @@ -132,6 +132,16 @@ SET(BLACK_LIST # Jasper cannot handle this image, only kakadu so far, unless you patch jasper # but then it breaks other images... "CT_Phillips_JPEG2K_Decompr_Problem.dcm" + # + # ------------ + # + # I probabely messed up smething with the .png, .tst of + # the images I recently added to the Test Suite + # I Black list them, untill I find where is the pb. + "US-RGB-8-esopecho.dcm" + "MR_Philips_Intera_No_PrivateSequenceImplicitVR.dcm" + "MR_Philips_Intera_PrivateSequenceImplicitVR.dcm" + "MR_SIEMENS_forceLoad29-1010_29-1020.dcm" ) # Create a specific list of dicom files that we know are part of a sequence @@ -171,3 +181,17 @@ FILE(WRITE "${GDCM_BINARY_DIR}/gdcmDataImages.h" FILE(WRITE "${GDCM_BINARY_DIR}/gdcmDataSeqImages.h" "const char * const gdcmDataSeqImages[] = { ${GDCM_DATA_SEQ_IMAGES}\n0 };\n" ) + +#----------------------------------------------------------------------------- +# Trying to solve a bizarre problem when loading shared lib if gdcm is static +# Therefore I disable the test when building SHAREDLIBS +IF(UNIX AND NOT GDCM_BUILD_SHARED_LIBS) + ADD_LIBRARY(dynmodule MODULE dynmodule.cxx) + TARGET_LINK_LIBRARIES(dynmodule gdcm) + ADD_EXECUTABLE(loadmodule loadmodule.cxx ) + TARGET_LINK_LIBRARIES(loadmodule gdcm -ldl) + ADD_TEST(loadmodule ${CXX_TEST_PATH}/loadmodule) +ENDIF(UNIX AND NOT GDCM_BUILD_SHARED_LIBS) + + +