diff --git a/Modules/ToFHardware/Testing/CMakeLists.txt b/Modules/ToFHardware/Testing/CMakeLists.txt index 34dc16adeb..a263ebcaf1 100644 --- a/Modules/ToFHardware/Testing/CMakeLists.txt +++ b/Modules/ToFHardware/Testing/CMakeLists.txt @@ -1,21 +1,21 @@ MITK_CREATE_MODULE_TESTS() if(BUILD_TESTING AND MODULE_IS_ENABLED) -mitkAddCustomModuleTest(mitkAbstractToFDeviceFactoryTest_DefaultCalibrationFile -V ${MITK_DATA_DIR}/ToF-Data/CalibrationFiles/Default_Parameters.xml) +mitkAddCustomModuleTest(mitkAbstractToFDeviceFactoryTest_DefaultCalibrationFile mitkAbstractToFDeviceFactoryTest -V ${MITK_DATA_DIR}/ToF-Data/CalibrationFiles/Default_Parameters.xml) #Only enabled for Windows and Mac nightlies. #If you want to run this on linux, just enable the flag in the superbuild. if(WIN32 OR APPLE OR MITK_ENABLE_GUI_TESTING) mitkAddCustomModuleTest(mitkPlayerLoadAndRenderDepthDataTest_KinectDepthImage #testname mitkPlayerLoadAndRenderDepthDataTest #testclassname Kinect_LiverPhantom_DistanceImage.nrrd #input image -V ${MITK_DATA_DIR}/ToF-Data/ReferenceScreenshots/Kinect_LiverPhantom_DistanceImage640x480REF.png #reference image ) mitkAddCustomModuleTest(mitkPlayerLoadAndRenderRGBDataTest_KinectRGBImage mitkPlayerLoadAndRenderRGBDataTest Kinect_LiverPhantom_RGBImage.nrrd -V ${MITK_DATA_DIR}/ToF-Data/ReferenceScreenshots/Kinect_LiverPhantom_RGBImage640x480REF.png) #rendering tests cannot run in parallel SET_PROPERTY(TEST mitkPlayerLoadAndRenderDepthDataTest_KinectDepthImage mitkPlayerLoadAndRenderRGBDataTest_KinectRGBImage PROPERTY RUN_SERIAL TRUE) endif(WIN32 OR APPLE OR MITK_ENABLE_GUI_TESTING) endif(BUILD_TESTING AND MODULE_IS_ENABLED)