[Repository Listing] / [Slicer3] / oldtrunk / CTestCustom.cmake.in
 

View of /oldtrunk/CTestCustom.cmake.in

Parent Directory Parent Directory Revision Log Revision Log


Revision 15040  Download Blame
File size: 3558 byte(s)
ENH: implementing changes described in the email linked below.
http://massmail.spl.harvard.edu/public-archives/slicer-devel/2010/005338.html
1 #
2 # For further details regarding this file,
3 # see http://www.vtk.org/Wiki/CMake_Testing_With_CTest#Customizing_CTest
4 #
5
6 SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 50)
7 SET (CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 50)
8
9 SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
10 ${CTEST_CUSTOM_COVERAGE_EXCLUDE}
11
12 # Exclude kwsys files from coverage results. They are reported
13 # (with better coverage results) on kwsys dashboards...
14 "/Source/(cm|kw)sys/"
15
16 # Exclude try_compile sources from coverage results:
17 "/CMakeFiles/CMakeTmp/"
18
19 # Exclude files generated by Tcl wrapping
20 ".*Tcl.cxx"
21
22 # Exclude files generated by the moc pre-compiler
23 "moc_.*"
24
25 # Exclude files from the Testing directories
26 ".*/Testing/.*"
27
28 # Exclude files that manage GUI
29 ".*GUI.cxx"
30 ".*Widgets.cxx"
31 "vtkKW.*"
32 "vtkSlicerApplication.h"
33 "vtkSlicerApplication.cxx"
34 "vtkSlicerApplicationSettingsInterface.h"
35 "vtkSlicerApplicationSettingsInterface.h"
36
37 # Exclude Qt source files from coverage results:
38 "[A-Za-z]./[Qq]t/qt-.+-opensource-src"
39 )
40
41 SET(CTEST_CUSTOM_WARNING_EXCEPTION
42 ${CTEST_CUSTOM_WARNING_EXCEPTION}
43
44 # Suppressing warnings about GL_GLEXT_LEGACY, the link reported below
45 # report a similar problem with GL_GLEXT_PROTOTYPE.
46 # http://lists.apple.com/archives/mac-opengl/2009/Dec/msg00081.html
47 # That problem could be solved installing a newer version of X11 SDK
48 # See http://xquartz.macosforge.org/trac/changeset/343
49 ".*warning.*GL_GLEXT_LEGACY.*redefined"
50
51 # ITK suppressions
52 "[Uu]tilities.gdcm"
53 "[Uu]tilities.vxl"
54 "[Uu]tilities.itktiff"
55 "[Ii]nsight.[Cc]ode.[Cc]ommon"
56 "[Ii]nsight.[Cc]ode.[Nn]umerics"
57 "[Ii]nsight.[Cc]ode.(IO|io)"
58
59 # VTK suppressions
60 "vtkfreetype"
61 "Utilities.vtktiff"
62 "VTK.*IO.vtkMySQLQuery.cxx"
63 "VTK.*Utilities.vtkexodus2"
64 "VTK.*Utilities.vtklibproj"
65 "VTK.*Utilities.vtksqlite"
66 "VTK.*Utilities.VPIC.*cxx"
67 "VTK.*warn_unused_result"
68 "VTK.*Filtering.*cxx"
69 "VTK.*IO.*cxx"
70 "VTK.*Infovis.*cxx"
71 # exception specific to Mac/Carbon
72 "VTK.Rendering.vtkCarbonRenderWindow.*warning.*(NewRgn|DiffRgn|EqualRgn|DisposeRgn).*is deprecated"
73 # exception specific to Mac/X11
74 "VTK.Rendering.vtkOpenGL.*warning: this is the location of the previous definition"
75
76
77 # qt suppressions from vtk...
78 # Some VTK dashboards include building bits of Qt which produce lots of
79 # the following warnings when built with the MS compilers. Qt guys should
80 # fix their code. Until they do, keep the Qt chatter off the VTK dashboard
81 # results:
82 "include.[Qq]t([Cc]ore|[Gg]ui).*warning C4127: conditional expression is constant"
83 "[Qq]t.*h.*warning.*declaration of .* shadows a member of .this"
84 "[Qq]t.*h.*warning.*(copy constructor|assignment operator) could not be generated"
85
86 # Suppress warning caused when QT 'foreach' loops are combined
87 "warning: declaration of '_container_' shadows a previous local"
88
89 # Libs/tclap
90 "tclap.include.tclap.*Arg.h.*warning C4512"
91
92
93 # Python suppressions
94 # About redefinition of symbols
95 "pyconfig.h.*warning:.*redefined"
96 "features.h.*"
97
98 # curl suppressions
99 "cmcurl.*warning.*conditional expression is constant"
100 "cmcurl.(transfer|ftp|file|cookie).c.*warning C4244.*possible loss of data"
101
102 # Suppressing warnings about duplicate libraries in Darwin
103 # At some point this may be addressed by CMake feature request:
104 # http://public.kitware.com/Bug/view.php?id=10179
105 "ld: warning: duplicate dylib"
106
107 # Libs/OpenIGTLink
108 "(OpenIGTLink|openigtlink).[Ss]ource.igtl"
109
110 # Visual studio spurious warnings...
111 "The following environment variables were not found"
112 )

  Subversion  TortoiseSVN  ViewVC