CTestCustom.cmake.in 2.3 KB

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