Skip to content

Commit

Permalink
Revert "WIP: Test removing warning exceptions"
Browse files Browse the repository at this point in the history
This reverts commit 0a0ce9b.
  • Loading branch information
tbirdso committed Mar 15, 2022
1 parent 0a0ce9b commit 28ff813
Showing 1 changed file with 51 additions and 2 deletions.
53 changes: 51 additions & 2 deletions CMake/CTestCustom.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#
#----------------------------------------------------------------------

set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 5)
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 5)
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_WARNINGS 49)
set(CTEST_CUSTOM_MAXIMUM_NUMBER_OF_ERRORS 100)

set(CTEST_CUSTOM_COVERAGE_EXCLUDE
${CTEST_CUSTOM_COVERAGE_EXCLUDE}
Expand All @@ -36,6 +36,55 @@ set(CTEST_CUSTOM_COVERAGE_EXCLUDE

set(CTEST_CUSTOM_WARNING_EXCEPTION
${CTEST_CUSTOM_WARNING_EXCEPTION}
"has no symbols"
"ipo: warning #11053"
"ipo: warning #11053"
"vxl.core.vnl.algo"
"vxl.core.vnl"
"vxl.v3p.netlib"
"itkjpeg"
"usr.include.stdint.h"
"Warning itk::Statistics::Histogram"
"itkIOCommonTest.cxx:.*warning:.* is deprecated"
"/usr/bin/ld: warning: libnetcdf.so.3, needed by.*may conflict with libnetcdf.so.4"
"itkQuadEdgeMeshEdgeMergeDecimationFilter.hxx:.*warning: unused parameter.*iEdge.*"
"vnl_diag_matrix.h"
"WARNING non-zero return value in ctest"
"Warning.*Anachronism.*"
"attempted multiple inclusion of file"
"warning LNK4221"
".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Dd][Ii][Cc][Oo][Mm][Pp]arser[/\\\\].*[Ww]arning.*"
".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Ee]xpat[/\\\\].*[Ww]arning.*"
".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Jj][Pp][Ee][Gg][/\\\\].*[Ww]arning.*"
".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Kk][Ww][Ss]ys[/\\\\].*[Ww]arning.*"
".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Mm]eta[Ii][Oo][/\\\\].*[Ww]arning.*"
".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Nn]etlib[/\\\\].*[Ww]arning.*"
".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Nn][Ii][Ff][Tt][Ii][/\\\\].*[Ww]arning.*"
".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Oo]pen[Jj][Pp][Ee][Gg][/\\\\].*[Ww]arning.*"
".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Pp][Nn][Gg][/\\\\].*[Ww]arning.*"
".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Tt][Ii][Ff][Ff][/\\\\].*[Ww]arning.*"
".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Vv][Nn][Ll][/\\\\].*[Ww]arning.*"
".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Vv][Nn][Ll][Ii]nstantiation[/\\\\].*[Ww]arning.*"
".*[/\\\\][Mm]odules[/\\\\][Tt]hird[Pp]arty[/\\\\][Zz][Ll][Ii][Bb][/\\\\].*[Ww]arning.*"
".*Microsoft.*include.*win.*.h.*[Ww]arning.*"
".*include.opencv2.*warning.*"
".*core.vidl.*warning.*"
".*core.vnl.vnl_matrix_fixed.h.*warning.*"
# DCMTK
"Note: checking out.*"
"-- Warning: SNDFILE support will be disabled because libsndfile was not found.*"
# FFTW ExternalProject
".*fftw[fd]/src/fftw[fd]./*"
"libtool: install: warning: relinking .libfftw3f?_threads.la."
# OpenCV
"opencv/modules"
# breathe / breathelink
"Duplicate declaration"
"WARNING: Duplicate C\\+\\+ declaration"

# Ignore clang's summary warning, assuming prior text has matched some
# other warning expression:
"[0-9,]+ warnings? generated."
)

if(APPLE)
Expand Down

0 comments on commit 28ff813

Please sign in to comment.