CTestCustom.cmake.in 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
  2. ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
  3. # Exclude try_compile sources from coverage results:
  4. "/CMakeFiles/CMakeTmp/"
  5. # Exclude files generated by the moc pre-compiler
  6. ".*/moc_.*"
  7. # Exclude files generated by the uic pre-compiler
  8. ".*/ui_.*"
  9. # Exclude files from the Testing directories
  10. ".*/Testing/.*"
  11. ".*/CMakeExternals/.*"
  12. "./ctkPixmapIconEngine.*"
  13. "./ctkIconEngine.*"
  14. )
  15. # The following tests should not be run under valgrind
  16. SET(CTEST_CUSTOM_MEMCHECK_IGNORE
  17. )
  18. SET(CTEST_CUSTOM_ERROR_MATCH
  19. ${CTEST_CUSTOM_ERROR_MATCH}
  20. "CMake Error[ :]"
  21. "No rule to make target"
  22. )
  23. SET(CTEST_CUSTOM_WARNING_MATCH
  24. ${CTEST_CUSTOM_WARNING_MATCH}
  25. "CMake Warning[ :]"
  26. )
  27. SET(CTEST_CUSTOM_WARNING_EXCEPTION
  28. ${CTEST_CUSTOM_WARNING_EXCEPTION}
  29. # external projects
  30. "Note: checking out"
  31. "@CTK_BINARY_DIR@/DCMTK"
  32. "@CTK_BINARY_DIR@/GDCM"
  33. "@CTK_BINARY_DIR@/ITK"
  34. # kwstyle suppressions
  35. "[Kk][Ww][Ss]tyle.*kws.*cxx"
  36. "[Kk][Ww][Ss]tyle.*kws.*h"
  37. "[Kk][Ww][Ss]tyle.*metaCommand.*cxx"
  38. # vtk suppressions
  39. "vtkfreetype"
  40. "Utilities.vtktiff"
  41. "VTK.*IO.vtkMySQLQuery.cxx"
  42. "VTK.*Utilities.vtkexodus2"
  43. "VTK.*Utilities.vtklibproj"
  44. "VTK.*Utilities.vtksqlite"
  45. "VTK.*Utilities.vtkmetaio"
  46. "VTK.*warn_unused_result"
  47. "VTK.*Filtering.*cxx"
  48. "VTK.*IO.*cxx"
  49. "VTK.*Infovis.*cxx"
  50. # qt suppressions from vtk...
  51. # Some VTK dashboards include building bits of Qt which produce lots of
  52. # the following warnings when built with the MS compilers. Qt guys should
  53. # fix their code. Until they do, keep the Qt chatter off the VTK dashboard
  54. # results:
  55. "include.[Qq]t([Cc]ore|[Gg]ui).*warning C4127: conditional expression is constant"
  56. "[Qq]t.*h.*warning.*declaration of .* shadows a member of .this"
  57. "[Qq]t.*h.*warning.*(copy constructor|assignment operator) could not be generated"
  58. # Suppress warning caused when QT 'foreach' loops are combined
  59. ".*warning: declaration of '_container_' shadows a previous local"
  60. # PythonQt suppressions
  61. "PythonQt.*src.*PythonQt.*(cpp|h)"
  62. "include.PythonQt.PythonQt.*h"
  63. # ctkDcmSCU is a copy from dcmtk, it should be fixed there.
  64. ".*ctkDcmSCU.cc.*"
  65. # Suppressing warnings about duplicate libraries in Darwin
  66. # At some point this may be addressed by CMake feature request:
  67. # http://public.kitware.com/Bug/view.php?id=10179
  68. "ld: warning: duplicate dylib.*"
  69. # Visual studio spurious warnings...
  70. "The following environment variables were not found"
  71. # External projects not using $(MAKE) properly
  72. "warning: jobserver unavailable: using -j1. Add `+' to parent make rule."
  73. )