forked from markasselin/PlusApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CTestCustom.cmake.in
87 lines (67 loc) · 2.5 KB
/
CTestCustom.cmake.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
SET(CTEST_CUSTOM_COVERAGE_EXCLUDE
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
# Exclude try_compile sources from coverage results:
"/CMakeFiles/CMakeTmp/"
# Exclude files generated by the moc pre-compiler
".*/moc_.*"
# Exclude files generated by the uic pre-compiler
".*/ui_.*"
# Exclude files from the Testing directories
".*/Testing/.*"
".*/CMakeExternals/.*"
"./ctkPixmapIconEngine.*"
"./ctkIconEngine.*"
)
# The following tests should not be run under valgrind
SET(CTEST_CUSTOM_MEMCHECK_IGNORE
)
SET(CTEST_CUSTOM_ERROR_MATCH
${CTEST_CUSTOM_ERROR_MATCH}
"CMake Error[ :]"
)
SET(CTEST_CUSTOM_WARNING_MATCH
${CTEST_CUSTOM_WARNING_MATCH}
"CMake Warning[ :]"
)
SET(CTEST_CUSTOM_WARNING_EXCEPTION
${CTEST_CUSTOM_WARNING_EXCEPTION}
# kwstyle suppressions
"[Kk][Ww][Ss]tyle.*kws.*cxx"
"[Kk][Ww][Ss]tyle.*kws.*h"
"[Kk][Ww][Ss]tyle.*metaCommand.*cxx"
# vtk suppressions
"vtkfreetype"
"Utilities.vtktiff"
"VTK.*IO.vtkMySQLQuery.cxx"
"VTK.*Utilities.vtkexodus2"
"VTK.*Utilities.vtklibproj"
"VTK.*Utilities.vtksqlite"
"VTK.*Utilities.vtkmetaio"
"VTK.*warn_unused_result"
"VTK.*Filtering.*cxx"
"VTK.*IO.*cxx"
"VTK.*Infovis.*cxx"
# qt suppressions from vtk...
# Some VTK dashboards include building bits of Qt which produce lots of
# the following warnings when built with the MS compilers. Qt guys should
# fix their code. Until they do, keep the Qt chatter off the VTK dashboard
# results:
"include.[Qq]t([Cc]ore|[Gg]ui).*warning C4127: conditional expression is constant"
"[Qq]t.*h.*warning.*declaration of .* shadows a member of .this"
"[Qq]t.*h.*warning.*(copy constructor|assignment operator) could not be generated"
# Suppress warning caused when QT 'foreach' loops are combined
".*warning: declaration of '_container_' shadows a previous local"
# Suppress warning caused by the moc compiler
".*warning : No relevant classes found. No output generated."
# PythonQt suppressions
"PythonQt.*src.*PythonQt.*(cpp|h)"
"include.PythonQt.PythonQt.*h"
# Suppressing warnings about duplicate libraries in Darwin
# At some point this may be addressed by CMake feature request:
# http://public.kitware.com/Bug/view.php?id=10179
"ld: warning: duplicate dylib.*"
# Visual studio spurious warnings...
"The following environment variables were not found"
# QtMobility
"warning: jobserver unavailable: using -j1. Add `+' to parent make rule."
)