1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
|
#
# Note that the Insight/CMakeLists.txt file creates a file
#
# ${ITK_BINARY_DIR}/CTestCustom.cmake
#
# than includes the content of
#
# "INCLUDE(\"${ITK_BINARY_DIR}/CMake/CTestCustom.ctest\")\n")
#
# In other words, the content of this current file
#
# CTestCustom.ctest.in
#
# ends up being included in the file
#
# ${ITK_BINARY_DIR}/CTestCustom.cmake
#
#
#----------------------------------------------------------------------
#
# For further details regarding this file,
# see http://www.vtk.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
#
# and
# http://www.kitware.com/blog/home/post/27
#
#----------------------------------------------------------------------
SET(CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 1000000)
SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 1000)
SET(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 50)
SET(CTEST_EXTRA_COVERAGE_GLOB
Source/.*/*.h
Source/.*/*.txx
Source/.*/*.cxx
)
SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
# Exclude try_compile sources from coverage results:
"/CMakeFiles/CMakeTmp/"
# Exclude files from the Testing directories
".*/Testing/.*"
# Exclude files from the Wrapping directories
".*/Wrapping/.*"
)
SET(CTEST_CUSTOM_WARNING_EXCEPTION
${CTEST_CUSTOM_WARNING_EXCEPTION}
"warning LNK4221.*no public symbols found"
"ranlib:.*file:.*has no symbols"
"ranlib: file: .+ has no symbols"
"libtool:.*file:.*has no symbols"
"vxl.core.vnl.algo"
"vxl.core.vnl"
"CableSwig"
"vxl.v3p.netlib"
"usr.include.stdint.h"
"Warning itk::Statistics::Histogram"
"gdcmDocument.cxx:.*warning:.*__base_ctor.* is deprecated"
"gdcmDicomDir.cxx:.*warning:.*__base_ctor.* is deprecated"
"gdcmFileHelper.cxx:.*warning:.*__base_ctor.* is deprecated"
"itkIOCommonTest.cxx:.*warning:.* is deprecated"
"/usr/bin/ld: warning: libnetcdf.so.3, needed by.*may conflict with libnetcdf.so.4"
"itkQuadEdgeMeshEdgeMergeDecimationFilter.txx:.*warning: unused parameter.*iEdge.*"
"vnl_diag_matrix.h"
"WARNING non-zero return value in ctest"
)
IF(APPLE)
SET(CTEST_CUSTOM_WARNING_EXCEPTION
${CTEST_CUSTOM_WARNING_EXCEPTION}
"warning -.: directory name .* does not exist"
)
ENDIF(APPLE)
|