CTestCustom.cmake.in 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. )
  22. SET(CTEST_CUSTOM_WARNING_MATCH
  23. ${CTEST_CUSTOM_WARNING_MATCH}
  24. "CMake Warning[ :]"
  25. )
  26. SET(CTEST_CUSTOM_WARNING_EXCEPTION
  27. ${CTEST_CUSTOM_WARNING_EXCEPTION}
  28. # kwstyle suppressions
  29. "[Kk][Ww][Ss]tyle.*kws.*cxx"
  30. "[Kk][Ww][Ss]tyle.*kws.*h"
  31. "[Kk][Ww][Ss]tyle.*metaCommand.*cxx"
  32. # Log4Qt suppressions
  33. "[Ll]og4[Qq]t.*src.*log4qt"
  34. "logobjectptr.*obj : warning"
  35. # vtk suppressions
  36. "vtkfreetype"
  37. "Utilities.vtktiff"
  38. "VTK.*IO.vtkMySQLQuery.cxx"
  39. "VTK.*Utilities.vtkexodus2"
  40. "VTK.*Utilities.vtklibproj"
  41. "VTK.*Utilities.vtksqlite"
  42. "VTK.*Utilities.vtkmetaio"
  43. "VTK.*warn_unused_result"
  44. "VTK.*Filtering.*cxx"
  45. "VTK.*IO.*cxx"
  46. "VTK.*Infovis.*cxx"
  47. # qt suppressions from vtk...
  48. # Some VTK dashboards include building bits of Qt which produce lots of
  49. # the following warnings when built with the MS compilers. Qt guys should
  50. # fix their code. Until they do, keep the Qt chatter off the VTK dashboard
  51. # results:
  52. "include.[Qq]t([Cc]ore|[Gg]ui).*warning C4127: conditional expression is constant"
  53. "[Qq]t.*h.*warning.*declaration of .* shadows a member of .this"
  54. "[Qq]t.*h.*warning.*(copy constructor|assignment operator) could not be generated"
  55. # Suppress warning caused when QT 'foreach' loops are combined
  56. ".*warning: declaration of '_container_' shadows a previous local"
  57. # PythonQt suppressions
  58. "PythonQt.*src.*PythonQt.*(cpp|h)"
  59. "include.PythonQt.PythonQt.*h"
  60. # ctkDcmSCU is a copy from dcmtk, it should be fixed there.
  61. ".*ctkDcmSCU.cc.*"
  62. # Suppressing warnings about duplicate libraries in Darwin
  63. # At some point this may be addressed by CMake feature request:
  64. # http://public.kitware.com/Bug/view.php?id=10179
  65. "ld: warning: duplicate dylib.*"
  66. # Visual studio spurious warnings...
  67. "The following environment variables were not found"
  68. # External projects not using $(MAKE) properly
  69. "warning: jobserver unavailable: using -j1. Add `+' to parent make rule."
  70. )