Skip to content

CTest: Report lines matched by launchers

Since launchers show the entire stderr/stdout for a command and only skip it if all of the lines are suppressed, it can be hard to tell if individual suppressions are working. This change prepends SUPPRESSED to each line that matches a suppression so that it will show up in CDash.

Looks something like this on CDash:

In file included from /data/adam.kogan/code/vxl/MyTestsClang/src-release/core/vil/file_formats/vil_tiff_header.cxx:4:
In file included from /data/adam.kogan/code/vxl/MyTestsClang/src-release/core/vil/file_formats/vil_tiff_header.h:41:
In file included from /bin/../lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/vector:64:
SUPPRESSED: /bin/../lib/gcc/x86_64-redhat-linux/4.8.5/../../../../include/c++/4.8.5/bits/stl_vector.h:771:9: warning: Returning null reference
      { return *(this->_M_impl._M_start + __n); }
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.

Topic-rename: ctest-launch-match-details

Edited by Brad King

Merge request reports