[vtk-developers] Coverage on Mac with clang
Sean McBride
sean at rogue-research.com
Mon Sep 10 10:13:54 EDT 2012
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
More information about the vtk-developers
mailing list