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")
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'" 12 # Ignore protobuf-generated source file warnings.
15 # ignore warning from string_fortified.h inclusion
18 # Unreachable code in xutility causes C4702 warnings in MSVC.
19 "xutility.*unreachable code" 21 # exclude warnings from dmfile.cxx
24 # exclude warnings from unreference NewInstance
function 25 ".*NewInstance.*was declared but never referenced" 27 # Intel compiler warning about routines being both
inline and noinline
28 "warning #2196.* routine is both" 30 # compiler optimizations may sometimes lead to
this warning
31 "assuming signed overflow does not occur when assuming that" 33 # Visual Studio STL warnings.
34 "VC.Tools.*include.*: warning" 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
43 # warnings from moc generated code
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" 57 # Regular expression for excluding files from coverage testing 58 list(APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
60 "vtk[^\\.]+ClientServer.cxx" 61 "vtk[^\\.]+Python.cxx"