]> Creatis software - gdcm.git/blobdiff - Testing/CMakeLists.txt
ENH: add a test for DirList. Add a method Print on DirList. Remove useless NormalizeP...
[gdcm.git] / Testing / CMakeLists.txt
index c64b83a4a23d312df9b1ca98a45413f9d095e87c..eb0c544f225d16fb316a5424b3a49c1cc68c9dfb 100644 (file)
@@ -14,6 +14,8 @@ SET(TEST_SOURCES
   TestVR.cxx
   TestUtil.cxx
   TestDicomString.cxx
+  TestDict.cxx
+  TestDirList.cxx
 )
 
 # add tests that require data
@@ -23,13 +25,13 @@ 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
+    TestCopyDicom.cxx
+    TestCopyRescaleDicom.cxx
+    TestWriteSimple.cxx
     TestDicomDir.cxx                 # require DICOMDIR
     BuildUpDicomDir.cxx              # writes a file named "NewDICOMDIR"
     makeDicomDir.cxx                 # writes a file named "NewDICOMDIR"
-    TestCopyDicom.cxx
-    TestCopyRescaleDicom.cxx
   )
   # add test that require VTK:
   IF(GDCM_VTK)
@@ -136,9 +138,6 @@ ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} GREATER 1.9)
 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"
 
   # Mathieu: temporarily remove as it kills my gnome session (but not kde)
   # JPR: also breaks TestReadWriteReadCompare : Pixel differ (as expanded
@@ -146,13 +145,6 @@ SET(BLACK_LIST
   "KODAK-12-MONO1-Odd_Terminated_Sequence.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})