CTestCustom.cmake.in 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. )
  13. # The following tests should not be run under valgrind
  14. SET(CTEST_CUSTOM_MEMCHECK_IGNORE
  15. )
  16. SET(CTEST_CUSTOM_ERROR_MATCH
  17. ${CTEST_CUSTOM_ERROR_MATCH}
  18. "CMake Error[ :]"
  19. )
  20. SET(CTEST_CUSTOM_WARNING_MATCH
  21. ${CTEST_CUSTOM_WARNING_MATCH}
  22. "CMake Warning[ :]"
  23. )
  24. SET(CTEST_CUSTOM_WARNING_EXCEPTION
  25. ${CTEST_CUSTOM_WARNING_EXCEPTION}
  26. # cmake suppressions
  27. "CMake.*Utilities.cmcurl"
  28. "CMake.*Source.kwsys.*warn_unused_result"
  29. "CMake.*Source.*cm.*cxx"
  30. "CMake.*Source.*cm.*h"
  31. # kwstyle suppressions
  32. "[Kk][Ww][Ss]tyle.*kws.*cxx"
  33. "[Kk][Ww][Ss]tyle.*kws.*h"
  34. "[Kk][Ww][Ss]tyle.*metaCommand.*cxx"
  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. # Suppressing warnings about duplicate libraries in Darwin
  61. # At some point this may be addressed by CMake feature request:
  62. # http://public.kitware.com/Bug/view.php?id=10179
  63. "ld: warning: duplicate dylib.*"
  64. # Visual studio spurious warnings...
  65. "The following environment variables were not found"
  66. )