X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Testing%2FCMakeLists.txt;h=609edc4e9169170931e6af0c4ecb832bb134e706;hb=9d461db5c5d954548cd07d1fa095e9bad43a0cac;hp=a6c7b961c0b387be3fb824e4d49adc702facfd97;hpb=df1a3b45849af2e3d6ee4f616e5d5b88f3b4b5a6;p=gdcm.git diff --git a/Testing/CMakeLists.txt b/Testing/CMakeLists.txt index a6c7b961..609edc4e 100644 --- a/Testing/CMakeLists.txt +++ b/Testing/CMakeLists.txt @@ -25,11 +25,11 @@ SET(TEST_SOURCES TestEnumVR.cxx TestBuildUpDicomDir.cxx # writes a file named "NewDICOMDIR" ) -IF(UNIX) +IF(UNIX OR WIN32) SET(TEST_SOURCES ${TEST_SOURCES} - #TestInline.cxx + TestInline.cxx ) -ENDIF(UNIX) +ENDIF(UNIX OR WIN32) # add tests that require data IF (GDCM_DATA_ROOT) @@ -59,9 +59,11 @@ IF (GDCM_DATA_ROOT) ) # add test that require VTK: IF(GDCM_VTK) + IF("${VTK_MAJOR_VERSION}" LESS 4) MESSAGE(FATAL_ERROR "This VTK version is not supported, you are on your own !") ELSE("${VTK_MAJOR_VERSION}" LESS 4) + IF("${VTK_MAJOR_VERSION}" EQUAL 4 AND "${VTK_MINOR_VERSION}" EQUAL 2) MESSAGE(FATAL_ERROR "This VTK version is not supported, you are on your own !" "Although gdcm should compile fine. You just need to turn BUILD_TESTING:=OFF") @@ -70,6 +72,7 @@ IF (GDCM_DATA_ROOT) MESSAGE(FATAL_ERROR "This VTK version is not supported, you are on your own !" "Although gdcm should compile fine. You just need to turn BUILD_TESTING:=OFF") ENDIF("${VTK_MAJOR_VERSION}" EQUAL 4 AND "${VTK_MINOR_VERSION}" EQUAL 4 AND "${VTK_BUILD_VERSION}" LESS 3) + # Include the VTK library since we know this is going to work INCLUDE(${VTK_USE_FILE}) @@ -179,6 +182,25 @@ SET(BLACK_LIST # I blacklist it until the pb is solved. # (to get some more green on the Dasboards) "MR_Philips-Intera_BreaksNOSHADOW.dcm" + + # No way we'll ever be able to read that... + "ELSCINT1_LOSSLESS_RICE.dcm" + + # Are we even be able to support our own bugs ? + "SIEMENS_MAGNETOM-12-MONO2-GDCM12-VRUN.dcm" + "SIEMENS_GBS_III-16-ACR_NEMA_1-ULis2Bytes.dcm" + "SIEMENS_ImageLocationUN.dcm" + "TheralysGDCM120Bug.dcm" + "IM-0001-0066.dcm" + "DMCPACS_ExplicitImplicit_BogusIOP.dcm" + "MR_ELSCINT1_00e1_1042_SQ_feff_00e0_Item.dcm" + "MR_Spectroscopy_SIEMENS_OF.dcm" + "ELSCINT1_PMSCT_RLE1.dcm" + "ELSCINT1_JP2vsJ2K.dcm" + "GE_MR_0025xx1bProtocolDataBlock.dcm" + "TG18-CH-2k-01.dcm" + "CT-SIEMENS-MissingPixelDataInIconSQ.dcm" + "KODAK_CompressedIcon.dcm" ) # Create a specific list of dicom files that we know are part of a sequence