]> Creatis software - gdcm.git/blobdiff - Testing/CMakeLists.txt
Unblacklist KODAK-12-MONO1-Odd_Terminated_Sequence.dcm
[gdcm.git] / Testing / CMakeLists.txt
index 2549dc4fc53a70ccbdd8dc7d40962e9b8a873941..60b1e913443f399a90eb768f085f8be48ebbc363 100644 (file)
@@ -14,6 +14,7 @@ SET(TEST_SOURCES
   TestVR.cxx
   TestUtil.cxx
   TestDicomString.cxx
+  TestDict.cxx
 )
 
 # add tests that require data
@@ -23,14 +24,14 @@ IF (GDCM_DATA_ROOT)
     PrintAllDocument.cxx             # includes generated gdcmDataImages.h
     TestAllReadCompareDicom.cxx      # includes generated gdcmDataImages.h
     TestAllEntryVerify.cxx           # includes generated gdcmDataImages.h
-    PrintDicomDir.cxx
     #TestChangeHeader.cxx
-    TestDicomDir.cxx                 # require DICOMDIR
-    BuildUpDicomDir.cxx              # writes a file named "NewDICOMDIR"
-    makeDicomDir.cxx                 # writes a file named "NewDICOMDIR"
     TestCopyDicom.cxx
     TestCopyRescaleDicom.cxx
     TestWriteSimple.cxx
+    TestDicomDir.cxx                 # require DICOMDIR
+    BuildUpDicomDir.cxx              # writes a file named "NewDICOMDIR"
+    makeDicomDir.cxx                 # writes a file named "NewDICOMDIR"
+    TestDirList.cxx
   )
   # add test that require VTK:
   IF(GDCM_VTK)
@@ -136,24 +137,20 @@ ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 1.9)
 # Black list of images known to break lots of readers (efilm, xmedcon ...):
 SET(BLACK_LIST
   # serial killer (also segfaults vtkgdcmViewer, but NOT PrintFile)
-  "gdcm-JPEG-LossLessThoravision.dcm"
-  
-  # Bad decompression of the jpeg part
-  "GE_RHAPSODE-16-MONO2-JPEG-Fragments.dcm"
+  #"gdcm-JPEG-LossLessThoravision.dcm"
 
   # Mathieu: temporarily remove as it kills my gnome session (but not kde)
   # JPR: also breaks TestReadWriteReadCompare : Pixel differ (as expanded
   #      in memory)  
-  "KODAK-12-MONO1-Odd_Terminated_Sequence.dcm"
+  #"KODAK-12-MONO1-Odd_Terminated_Sequence.dcm"
+  
+  # Multiframe Papyrus format image
+  # Just to remember this format exist, and is gdcm::Header compliant
+  # (NOT gdcm::File ...)
+  # any contribution is welcome
+  "PET-cardio-Multiframe-Papyrus.dcm" 
   )
 
-IF(APPLE)
-  SET(BLACK_LIST ${BLACK_LIST}
-    "SIEMENS_GBS_III-16-ACR_NEMA_1.acr"  # This image contains a wrong length
-    # Which led us to read pass the end of the file. This seg fault on MacOSX
-    )
-ENDIF(APPLE)
-
 # This is a GLOB expression, change it into a list separated with a comma and \n
 SET(GDCM_DATA_IMAGES)
 FOREACH(filename ${GDCM_DATA_IMAGES_GLOB})