[vtk-developers] Coverage on Mac with clang
Bill Lorensen
bill.lorensen at gmail.com
Thu Sep 13 08:27:39 EDT 2012
Sean,
This patch: http://review.source.kitware.com/#/t/1275/
modifies the computeCoverageLocallyForOneTest.sh script so that it should
generate coverage info on the Mac using the clang compiler.
This does not solve the coverage issue for cdash but does allow you to
generate coverage information locally.
Bill
On Mon, Sep 10, 2012 at 10:15 AM, Bill Lorensen <bill.lorensen at gmail.com>wrote:
> Disappointing.
>
> Yes, I do coverage on linux.
>
> Bill
>
>
> On Mon, Sep 10, 2012 at 10:13 AM, Sean McBride <sean at rogue-research.com>wrote:
>
>> On Sun, 9 Sep 2012 14:32:34 -0400, Bill Lorensen said:
>>
>> >I'm trying to get coverage working on my MacAir using clang. I
>> successfully
>> >build, but when I run a test, the .gcda files are not in the proper
>> >directory in the build tree. If I run a cxx test, they end up in
>> >Foo/Bar/Testing/Cxx/... rather than Foo/Bar/...
>> >
>> >Then when I run lcov, it can't match the .gcno and .gcda files. On my
>> linux
>> >system the .gcno and .gcda files reside in the same directory.
>> >
>> >Have you successfully run coverage for vtk on your MAC?
>>
>> No. We tried, gave up, CC'ed ourselves on bugs, and filed some new ones.
>> See:
>>
>> <http://llvm.org/bugs/show_bug.cgi?id=11760>
>> <http://llvm.org/bugs/show_bug.cgi?id=11457>
>> <http://llvm.org/bugs/show_bug.cgi?id=11809>
>>
>> AFAICT, the llvm community is not too bothered about code coverage
>> features. :(
>>
>> I'd suggest doing coverage with linux+gcc.
>>
>> Cheers,
>>
>> --
>> ____________________________________________________________
>> Sean McBride, B. Eng sean at rogue-research.com
>> Rogue Research www.rogue-research.com
>> Mac Software Developer Montréal, Québec, Canada
>>
>>
>>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
>
--
Unpaid intern in BillsBasement at noware dot com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20120913/01da5894/attachment.html>
More information about the vtk-developers
mailing list