CTestCustom.cmake.in 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. # vtk suppressions
  33. "vtkfreetype"
  34. "Utilities.vtktiff"
  35. "VTK.*IO.vtkMySQLQuery.cxx"
  36. "VTK.*Utilities.vtkexodus2"
  37. "VTK.*Utilities.vtklibproj"
  38. "VTK.*Utilities.vtksqlite"
  39. "VTK.*Utilities.vtkmetaio"
  40. "VTK.*warn_unused_result"
  41. "VTK.*Filtering.*cxx"
  42. "VTK.*IO.*cxx"
  43. "VTK.*Infovis.*cxx"
  44. # qt suppressions from vtk...
  45. # Some VTK dashboards include building bits of Qt which produce lots of
  46. # the following warnings when built with the MS compilers. Qt guys should
  47. # fix their code. Until they do, keep the Qt chatter off the VTK dashboard
  48. # results:
  49. "include.[Qq]t([Cc]ore|[Gg]ui).*warning C4127: conditional expression is constant"
  50. "[Qq]t.*h.*warning.*declaration of .* shadows a member of .this"
  51. "[Qq]t.*h.*warning.*(copy constructor|assignment operator) could not be generated"
  52. # Suppress warning caused when QT 'foreach' loops are combined
  53. ".*warning: declaration of '_container_' shadows a previous local"
  54. # PythonQt suppressions
  55. "PythonQt.*src.*PythonQt.*(cpp|h)"
  56. "include.PythonQt.PythonQt.*h"
  57. # Suppressing warnings about duplicate libraries in Darwin
  58. # At some point this may be addressed by CMake feature request:
  59. # http://public.kitware.com/Bug/view.php?id=10179
  60. "ld: warning: duplicate dylib.*"
  61. # Visual studio spurious warnings...
  62. "The following environment variables were not found"
  63. # QtMobility
  64. "warning: jobserver unavailable: using -j1. Add `+' to parent make rule."
  65. )