list ( APPEND CTEST_CUSTOM_ERROR_MATCH
" E R R O R : " )
list ( APPEND CTEST_CUSTOM_WARNING_EXCEPTION
" w a r n i n g : c a s t f r o m ' c h a r \ \ * ' t o ' c m C u r s e s W i d g e t \ \ * ' i n c r e a s e s r e q u i r e d a l i g n m e n t o f t a r g e t t y p e " # Occurs when using Solaris's system libform
" x t r e e . [ 0 - 9 ] + . : w a r n i n g C 4 7 0 2 : u n r e a c h a b l e c o d e "
" w a r n i n g L N K 4 2 2 1 "
" w a r n i n g L N K 4 2 0 4 " # Occurs by race condition with objects in small libs
" v a r i a b l e . v a r _ a r g s [ 2 ] * . i s u s e d b e f o r e i t s v a l u e i s s e t "
" w a r n i n g : v a r i a b l e . _ _ d [ 0 1 ] . w a s s e t b u t n e v e r u s e d " # FD_ZERO on NVHPC
" j o b s e r v e r u n a v a i l a b l e "
" w a r n i n g : \ \ ( L o n g d o u b l e u s a g e i s r e p o r t e d o n l y o n c e f o r e a c h f i l e "
" w a r n i n g : T o d i s a b l e t h i s w a r n i n g u s e "
" c o u l d n o t b e i n l i n e d "
" libcm ( curl|expat ) . * h a s n o s y m b o l s "
" cm ( curl|expat ) . b u i l d / [ ^ ] * . o h a s n o s y m b o l s "
" n o t s o r t e d s l o w e r l i n k e d i t i n g w i l l r e s u l t "
" s t l _ d e q u e . h : 4 7 9 "
" U t i l i t i e s . c m z l i b . "
" U t i l i t i e s . c m z s t d . "
" U t i l i t i e s . c m b z i p 2 . "
" S o u r c e . C T e s t . C u r l "
" S o u r c e . C u r s e s D i a l o g . f o r m "
" U t i l i t i e s . c m c u r l "
" U t i l i t i e s . c m e x p a t . "
" U t i l i t i e s . c m l i b a r c h i v e "
" w a r n i n g : d e c l a r a t i o n o f . s i n g l e . s h a d o w s a g l o b a l d e c l a r a t i o n "
" / u s r / i n c l u d e . * ( w a r n i n g | n o t e ) . * s h a d o w e d d e c l a r a t i o n i s h e r e "
" / u s r / b i n / l d . * w a r n i n g . * - . . * d i r e c t o r y . n a m e . * b i n . * d o e s n o t e x i s t "
" R e d e c l a r a t i o n o f . s e n d . . . . . w i t h a d i f f e r e n t s t o r a g e c l a s s s p e c i f i e r "
" i s n o t u s e d f o r r e s o l v i n g a n y s y m b o l "
" C l o c k s k e w d e t e c t e d "
" r e m a r k \ \ ( 1 2 0 9 "
" r e m a r k : . * L O O P W A S V E C T O R I Z E D "
" w a r n i n g . 9 8 0 : w r o n g n u m b e r o f a c t u a l a r g u m e n t s t o i n t r i n s i c f u n c t i o n . s t d : : b a s i c _ "
" L I N K : w a r n i n g L N K 4 0 8 9 : a l l r e f e r e n c e s t o . * A D V A P I 3 2 . d l l . * d i s c a r d e d b y / O P T : R E F "
" L I N K : w a r n i n g L N K 4 0 8 9 : a l l r e f e r e n c e s t o . * C R Y P T 3 2 . d l l . * d i s c a r d e d b y / O P T : R E F "
" L I N K : w a r n i n g L N K 4 0 8 9 : a l l r e f e r e n c e s t o . * P S A P I . D L L . * d i s c a r d e d b y / O P T : R E F "
" L I N K : w a r n i n g L N K 4 0 8 9 : a l l r e f e r e n c e s t o . * R P C R T 4 . d l l . * d i s c a r d e d b y / O P T : R E F "
" L I N K : w a r n i n g L N K 4 0 8 9 : a l l r e f e r e n c e s t o . * S H E L L 3 2 . d l l . * d i s c a r d e d b y / O P T : R E F "
" L I N K : w a r n i n g L N K 4 0 8 9 : a l l r e f e r e n c e s t o . * U S E R 3 2 . d l l . * d i s c a r d e d b y / O P T : R E F "
" L I N K : w a r n i n g L N K 4 0 8 9 : a l l r e f e r e n c e s t o . * o l e 3 2 . d l l . * d i s c a r d e d b y / O P T : R E F "
" W a r n i n g . * : . * / U t i l i t i e s / K W I M L / t e s t / t e s t _ i n t _ f o r m a t . h . * # Redundant preprocessing concatenation"
" W a r n i n g : l i b r a r y w a s t o o l a r g e f o r p a g e s i z e . * "
" W a r n i n g : p u b l i c . * _ a r c h i v e _ . * i n m o d u l e . * a r c h i v e _ * c l a s h e s w i t h p r i o r m o d u l e . * a r c h i v e _ . * "
" W a r n i n g : p u b l i c . * B Z 2 _ b z . * i n m o d u l e . * b z l i b . * c l a s h e s w i t h p r i o r m o d u l e . * b z l i b . * "
" W a r n i n g : p u b l i c . * _ a r c h i v e . * c l a s h e s w i t h p r i o r m o d u l e . * "
" W a r n i n g : L I N N 3 2 : L a s t l i n e . * i s l e s s . * "
" W a r n i n g : O l i m i t w a s e x c e e d e d o n f u n c t i o n . * "
" W a r n i n g : T o o v e r r i d e O l i m i t f o r a l l f u n c t i o n s i n f i l e . * "
" W a r n i n g : F u n c t i o n . * c a n t h r o w o n l y t h e e x c e p t i o n s t h r o w n b y t h e f u n c t i o n . * i t o v e r r i d e s \ \ . "
" W a r n i n g M e s s a g e s D i a l o g \ \ . c x x "
" w a r n i n g . * d i r e c t o r y n a m e . * C M a k e - X c o d e . * / b i n / . * d o e s n o t e x i s t . * "
" s t l _ d e q u e . h : 1 0 5 1 "
" T e s t s / C M a k e L i b / t e s t C T e s t R e s o u r c e S p e c . c x x : . * w a r n i n g : m i s s i n g i n i t i a l i z e r f o r m e m b e r . * c m C T e s t R e s o u r c e S p e c : : . * " # GCC 4.8 disagrees with later compilers on C++11 initializer list conversion
" ( L e x e r | P a r s e r ) . * w a r n i n g . * c o n v e r s i o n . * may ( alter its value|change the sign ) "
" ( L e x e r | P a r s e r ) . * w a r n i n g . * ( s t a t e m e n t i s u n r e a c h a b l e | w i l l n e v e r b e e x e c u t e d ) "
" ( L e x e r | P a r s e r ) . * w a r n i n g . * v a r i a b l e . * w a s s e t b u t n e v e r u s e d "
" L e x e r P a r s e r . * w a r n i n g . * e m p t y e x p r e s s i o n s t a t e m e n t h a s n o e f f e c t ; r e m o v e u n n e c e s s a r y "
" P G C - W - 0 0 9 5 - T y p e c a s t r e q u i r e d f o r t h i s c o n v e r s i o n . * P r o c e s s U N I X . c "
" [ Q q ] t ( [Cc]ore|[Gg]ui|[Ww]idgets ) . * w a r n i n g . * c o n v e r s i o n . * m a y a l t e r i t s v a l u e "
" w a r n i n g : . * i s . * v e r y u n s a f e . * c o n s i d e r u s i n g . * "
" w a r n i n g : . * i s . * m i s u s e d , p l e a s e u s e . * "
" c m a k e . v e r s i o n . m a n i f e s t . * m a n i f e s t a u t h o r i n g w a r n i n g . * U n r e c o g n i z e d E l e m e n t "
" c c - 3 9 6 8 C C : W A R N I N G F i l e . * " # "implicit" truncation by static_cast
" l d : w a r n i n g : d i r e c t o r y n o t f o u n d f o r o p t i o n . - ( F | L ) "
" l d : w a r n i n g . * / l i b g c c . a a r c h i v e ' s c p u t y p e "
" l d : w a r n i n g : i g n o r i n g f i l e . * / l i b g c c . a , f i l e w a s b u i l t f o r a r c h i v e w h i c h i s n o t t h e a r c h i t e c t u r e b e i n g l i n k e d "
" l d : w a r n i n g : i n . * / l i b g c c . a , f i l e i s n o t o f r e q u i r e d a r c h i t e c t u r e "
" l d : w a r n i n g : s y m b o l . ( d e f l a t e | i n f l a t e ) _ c o p y r i g h t . h a s d i f f e r i n g s i z e s " # system libz and QtCore disagree
" w a r n i n g . * T h i s v e r s i o n o f M a c O S X i s u n s u p p o r t e d "
" c l a n g . * : w a r n i n g : a r g u m e n t u n u s e d d u r i n g c o m p i l a t i o n : . - g "
" n o t e : i n e x p a n s i o n o f m a c r o " # diagnostic context note
" n o t e : e x p a n d e d f r o m m a c r o " # diagnostic context note
" cm ( StringCommand|CTestTestHandler ) \ \ . c x x . * w a r n i n g . * r a n d . * m a y r e t u r n d e t e r m i n i s t i c v a l u e s "
" cm ( StringCommand|CTestTestHandler ) \ \ . c x x . * w a r n i n g . * r a n d . * i s n . * t r a n d o m " # we do not do crypto
" cm ( StringCommand|CTestTestHandler ) \ \ . c x x . * w a r n i n g . * s r a n d . * s e e d c h o i c e s a r e . * p o o r " # we do not do crypto
" c m F i n d P a c k a g e C o m m a n d . c x x . * : w a r n i n g #177-D: parameter .* was declared but never referenced"
" I P A w a r n i n g : f u n c t i o n . * m u l t i p l y d e f i n e d i n "
" L I C E N S E W A R N I N G " # PGI license expiry. Not useful in nightly testing.
# Ignore compiler summary warning, assuming prior text has matched some
# other warning expression:
" [ 0 - 9 , ] + w a r n i n g s ? g e n e r a t e d . " # Clang
" c o m p i l a t i o n c o m p l e t e d w i t h w a r n i n g s " # PGI
" [ 0 - 9 ] + W a r n i n g \ \ ( s \ \ ) d e t e c t e d " # SunPro
# Ignore false positive on `cm::optional` usage from GCC
" c m F i l e C o m m a n d . c x x : [ 0 - 9 ] * : [ 0 - 9 ] * : w a r n i n g : ' \ \ * \ \ ( \ \ ( v o i d \ \ * \ \ ) & t l s _ v e r i f y \ \ + 2 \ \ ) ' m a y b e u s e d u n i n i t i a l i z e d i n t h i s f u n c t i o n \ \ [ - W m a y b e - u n i n i t i a l i z e d \ \ ] "
" c m G l o b a l N i n j a G e n e r a t o r . c x x : [ 0 - 9 ] * : [ 0 - 9 ] * : w a r n i n g : ' . * c m : : o p t i o n a l < C x x M o d u l e M a p F o r m a t > : : _ m e m \ \ ) \ \ ) ' m a y b e u s e d u n i n i t i a l i z e d \ \ [ - W m a y b e - u n i n i t i a l i z e d \ \ ] "
" c m G l o b a l N i n j a G e n e r a t o r . c x x : [ 0 - 9 ] * : [ 0 - 9 ] * : n o t e : ' . * c m : : o p t i o n a l < C x x M o d u l e M a p F o r m a t > : : _ m e m \ \ ) \ \ ) ' w a s d e c l a r e d h e r e "
" c m G l o b a l N i n j a G e n e r a t o r . c x x : [ 0 - 9 ] * : [ 0 - 9 ] * : w a r n i n g : ' \ \ * \ \ ( \ \ ( v o i d \ \ * \ \ ) & m o d m a p _ f m t \ \ + 4 \ \ ) ' m a y b e u s e d u n i n i t i a l i z e d i n t h i s f u n c t i o n \ \ [ - W m a y b e - u n i n i t i a l i z e d \ \ ] "
# clang-analyzer exceptions
" c m L i s t F i l e L e x e r . c : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : A r r a y s u b s c r i p t i s u n d e f i n e d "
" j s o n c p p / s r c / . * : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : V a l u e s t o r e d t o . * i s n e v e r r e a d "
" l i b l z m a / c o m m o n / i n d e x _ e n c o d e r . c : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : V a l u e s t o r e d t o ' [ ^ ' ] + ' d u r i n g i t s i n i t i a l i z a t i o n i s n e v e r r e a d "
" l i b l z m a / l i b l z m a / c o m m o n / i n d e x . c : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : A c c e s s t o f i e l d ' [ ^ ' ] + ' r e s u l t s i n a d e r e f e r e n c e o f a n u l l p o i n t e r "
" l i b l z m a / s i m p l e / x 8 6 . c : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : T h e r e s u l t o f t h e ' < < ' e x p r e s s i o n i s u n d e f i n e d "
" l i b r h a s h / l i b r h a s h / . * : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : T h e l e f t o p e r a n d o f ' [ ^ ' ] + ' i s a g a r b a g e v a l u e "
" l i b u v / s r c / . * : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : 1 s t f u n c t i o n c a l l a r g u m e n t i s a n u n i n i t i a l i z e d v a l u e "
" l i b u v / s r c / . * : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : D e r e f e r e n c e o f n u l l p o i n t e r "
" l i b u v / s r c / . * : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : T h e l e f t o p e r a n d o f ' [ ^ ' ] + ' i s a g a r b a g e v a l u e "
" n g h t t p 2 / l i b / . * : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : A c c e s s t o f i e l d ' [ ^ ' ] + ' r e s u l t s i n a d e r e f e r e n c e o f a n u l l p o i n t e r "
" n g h t t p 2 / l i b / . * : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : D e r e f e r e n c e o f n u l l p o i n t e r "
" n g h t t p 2 / l i b / . * : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : V a l u e s t o r e d t o ' [ ^ ' ] + ' i s n e v e r r e a d "
" z s t d / l i b / . * : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : A s s i g n e d v a l u e i s g a r b a g e o r u n d e f i n e d "
" z s t d / l i b / . * : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : D e r e f e r e n c e o f n u l l p o i n t e r "
" z s t d / l i b / . * : [ 0 - 9 ] + : [ 0 - 9 ] + : w a r n i n g : T h e r i g h t o p e r a n d o f . * i s a g a r b a g e v a l u e d u e t o a r r a y i n d e x o u t o f b o u n d s "
)
if ( NOT "@CMAKE_GENERATOR@" MATCHES "Xcode" )
list ( APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
" X C o d e "
)
endif ( )
list ( APPEND CTEST_CUSTOM_COVERAGE_EXCLUDE
# Exclude kwsys files from coverage results. They are reported
# (with better coverage results) on kwsys dashboards...
" / S o u r c e / ( c m | k w ) s y s / "
# Exclude try_compile sources from coverage results:
" / C M a k e F i l e s / C M a k e T m p / "
# Exclude Qt source files from coverage results:
" [ A - Z a - z ] . / [ Q q ] t / q t - . + - o p e n s o u r c e - s r c "
)
list ( APPEND CTEST_CUSTOM_MEMCHECK_IGNORE
k w s y s . t e s t P r o c e s s - 1 0 # See Source/kwsys/CTestCustom.cmake.in
)