Disappointing.<div><br></div><div>Yes, I do coverage on linux.</div><div><br></div><div>Bill<br><br><div class="gmail_quote">On Mon, Sep 10, 2012 at 10:13 AM, Sean McBride <span dir="ltr"><<a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Sun, 9 Sep 2012 14:32:34 -0400, Bill Lorensen said:<br>
<br>
>I'm trying to get coverage working on my MacAir using clang. I successfully<br>
>build, but when I run a test, the .gcda files are not in the proper<br>
>directory in the build tree. If I run a cxx test, they end up in<br>
>Foo/Bar/Testing/Cxx/... rather than Foo/Bar/...<br>
><br>
>Then when I run lcov, it can't match the .gcno and .gcda files. On my linux<br>
>system the .gcno and .gcda files reside in the same directory.<br>
><br>
>Have you successfully run coverage for vtk on your MAC?<br>
<br>
</div></div>No.  We tried, gave up, CC'ed ourselves on bugs, and filed some new ones.  See:<br>
<br>
<<a href="http://llvm.org/bugs/show_bug.cgi?id=11760" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=11760</a>><br>
<<a href="http://llvm.org/bugs/show_bug.cgi?id=11457" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=11457</a>><br>
<<a href="http://llvm.org/bugs/show_bug.cgi?id=11809" target="_blank">http://llvm.org/bugs/show_bug.cgi?id=11809</a>><br>
<br>
AFAICT, the llvm community is not too bothered about code coverage features.  :(<br>
<br>
I'd suggest doing coverage with linux+gcc.<br>
<br>
Cheers,<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
____________________________________________________________<br>
Sean McBride, B. Eng                 <a href="mailto:sean@rogue-research.com">sean@rogue-research.com</a><br>
Rogue Research                        <a href="http://www.rogue-research.com" target="_blank">www.rogue-research.com</a><br>
Mac Software Developer              Montréal, Québec, Canada<br>
<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</div>