]> Creatis software - gdcm.git/blobdiff - Testing/CMakeLists.txt
* Remove compilation warnings
[gdcm.git] / Testing / CMakeLists.txt
index 28986cb5f76fdd800a255b63b6cd630bdd45cd78..25eafebc17ff89b285a00ad65e5418ab2a8e40a7 100644 (file)
@@ -15,6 +15,7 @@ SET(TEST_SOURCES
   TestVR.cxx
   TestDictGroupName.cxx
   TestDict.cxx
+  TestDataEntry.cxx
   TestWriteSimple.cxx
   TestImageSet.cxx
   TestDicomDirElement.cxx
@@ -75,16 +76,14 @@ ENDIF (GDCM_DATA_ROOT)
 
 # include stuff
 INCLUDE_DIRECTORIES(
-  ${GDCM_SOURCE_DIR}/src/
-  ${GDCM_BINARY_DIR}/
+  ${GDCM_SOURCE_DIR}/src
+  ${GDCM_BINARY_DIR}
 )
 
 CREATE_TEST_SOURCELIST(Tests gdcmTests.cxx ${TEST_SOURCES})
 ADD_EXECUTABLE(gdcmTests ${Tests})
 IF(GDCM_VTK)
-  IF(GDCM_DATA_ROOT)
-    TARGET_LINK_LIBRARIES(gdcmTests vtkgdcm vtkRendering)
-  ENDIF(GDCM_DATA_ROOT)
+  TARGET_LINK_LIBRARIES(gdcmTests vtkgdcm vtkRendering)
 ELSE(GDCM_VTK)
   TARGET_LINK_LIBRARIES(gdcmTests gdcm)
 ENDIF(GDCM_VTK)
@@ -145,6 +144,9 @@ SET(BLACK_LIST
   "MR_Philips_Intera_No_PrivateSequenceImplicitVR.dcm"
   "MR_Philips_Intera_PrivateSequenceImplicitVR.dcm"
   "MR_SIEMENS_forceLoad29-1010_29-1020.dcm"
+  # An element contains a value of 4, but no data follows
+  # So, the next (group, elem) is not correctly read
+  "gdcm-MR-PHILIPS-16-Multi-Seq.dcm"
   )
 
 # Create a specific list of dicom files that we know are part of a sequence