Hi,

Setting CTEST_EXTRA_COVERAGE_GLOB in the CTestCustom.cmake file can be
used to add additional files which shall be included in the coverage
report. This is useful to ensure that files which are not covered by
any test are still reported with 0% line coverage.

I tried using absolute paths in the glob expressions, which did not
work. Only paths relative to the project's source directory worked for
me.

Now I have a scenario, where certain source files are
configured/copied to the build tree. It seems that these files are,
however, not considered by CTest. I assume the extra coverage glob
looks only for files in the source tree? Is there any way I can ensure
that uncovered files, such as .txx files, which are located in the
build tree are added to the coverage report with 0% line coverage?

Thanks,
Andreas
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to