/builds/gitlab-kitware-sciviz-ci/build/CTestCustom.cmake
Go to the documentation of this file.
1 # Inherit VTK's exclusions. We don't have to redefine them in this file anymore.
2 set(paraview_use_external_vtk "OFF")
3 if (NOT paraview_use_external_vtk)
4  include("${CMAKE_CURRENT_LIST_DIR}/VTK/CTestCustom.cmake")
5 endif ()
6 
7 # Regular expression for warning exception during build process
8 list(APPEND CTEST_CUSTOM_WARNING_EXCEPTION
9  # Ignore `getenv` "deprecation" with MSVC.
10  "vtknvindex_utilities.h.*: warning C4996: 'getenv'"
11 
12  # Ignore protobuf-generated source file warnings.
13  "vtkPVMessage.pb.cc"
14 
15  # ignore warning from string_fortified.h inclusion
16  "string_fortified.h"
17 
18  # Unreachable code in xutility causes C4702 warnings in MSVC.
19  "xutility.*unreachable code"
20 
21  # exclude warnings from dmfile.cxx
22  "dmfile.*"
23 
24  # exclude warnings from unreference NewInstance function
25  ".*NewInstance.*was declared but never referenced"
26 
27  # Intel compiler warning about routines being both inline and noinline
28  "warning #2196.* routine is both"
29 
30  # compiler optimizations may sometimes lead to this warning
31  "assuming signed overflow does not occur when assuming that"
32 
33  # Visual Studio STL warnings.
34  "VC.Tools.*include.*: warning"
35 
36  # Doxygen warning exclusions
37  "<unknown>:1: warning: no matching .* member found for"
38  "vtkPVMessage.pb.h:.*: warning: no.*matching class member found for"
39  "paraview/tpl/cinemasci/viewers/readme.md:10: warning: unable to resolve reference to `doc/readme_view.md' for"
40  "warning: unable to resolve reference to `https:' for \ref command"
41  "md:.*: warning:" # Disable all warnings in .md files
42 
43  # warnings from moc generated code
44  "_autogen"
45 
46  # deprecation notes
47  "note: declared here"
48 )
49 
50 list(APPEND CTEST_CUSTOM_ERROR_EXCEPTION
51  # Xcb error does not seem to cause errors in generated test images
52  "qt.qpa.xcb: internal error"
53  # Qt lupdate writes warning on stderr when finding class as template types
54  "Ignoring definition of undeclared qualified class"
55 )
56 
57 # Regular expression for excluding files from coverage testing
58 list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
59  ".*/VTK/.*"
60  "vtk[^\\.]+ClientServer.cxx"
61  "vtk[^\\.]+Python.cxx"
62  "ui_[^\\.]+.h"
63  "moc_[^\\.]+.h"
64  "vtkprotobuf")