[cmake-developers] CTestCoverageCollectGCOV and ctest_submit(CDASH_UPLOAD)
Bill Hoffman
bill.hoffman at kitware.com
Mon Feb 23 10:17:18 EST 2015
On 2/23/2015 9:47 AM, Brad King wrote:
>> Specifically I couldn't tell from the existing documentation what new
>> >use cases or features the new implementations support.
> 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.
In addition, this feature now allows gcov branch coverage to be
displayed on CDash (although you need a very recent CDash for that).
The current CTest coverage support does not handle branch coverage.
-Bill
More information about the cmake-developers
mailing list