ctest matches warnings summary when using launchers
Using cmake 3.14.5 (sorry, what the latest Fedora gives me) I can see things like
<!-- Result of command --> <Result> <StdOut/> <StdErr>[CTest: warning suppressed] XXXXXXXXXXXXXXXXXX.c:1:9: warning: macro name is a reserved identifier [-Wreserved-id-macro] #define _DEFAULT_SOURCE ^ [CTest: warning matched] 1 warning generated.</StdErr> <ExitCondition>0</ExitCondition> </Result>
which CDash reports.
If I comment out the
set(CTEST_USE_LAUNCHERS ON) line from my ctest script that "1 warning generated" is (correctly) not counted as a warning.