[cmake-developers] CTestCoverageCollectGCOV and ctest_submit(CDASH_UPLOAD)

Ben Boeckel ben.boeckel at kitware.com
Mon Feb 23 10:10:44 EST 2015


On Mon, Feb 23, 2015 at 09:47:06 -0500, Brad King wrote:
> Currently it is just a different implementation of the same use cases.
> However, logic for processing the gcov output moves from CTest to CDash.
> The ctest_submit(CDASH_UPLOAD) command doesn't just upload files, it
> contacts a new CDash API to send files with (json) metadata.  Over
> time this will allow more coverage types to be added without having to
> modify CTest, and CDash will be able to process tool-specific coverage
> output and display it in a custom manner.  Previously CTest had to
> mangle the output of various tools into the Coverage.xml format that
> CDash expects.

It also means that if there's additional data in the coverage (e.g.,
branch coverage), it isn't stripped when it goes through CTest's
coverage format.

--Ben


More information about the cmake-developers mailing list