Sean,<div><br></div><div>This patch: <a href="http://review.source.kitware.com/#/t/1275/">http://review.source.kitware.com/#/t/1275/</a></div><div>modifies the computeCoverageLocallyForOneTest.sh script so that it should generate coverage info on the Mac using the clang compiler.</div>
<div><br></div><div>This does not solve the coverage issue for cdash but does allow you to generate coverage information locally.</div><div><br></div><div>Bill</div><div><br><div><br><div class="gmail_quote">On Mon, Sep 10, 2012 at 10:15 AM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Disappointing.<div><br></div><div>Yes, I do coverage on linux.</div><div><br></div><div>Bill<div><div class="h5"><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><div>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><font color="#888888"><br>
--<br>
____________________________________________________________<br>
Sean McBride, B. Eng                 <a href="mailto:sean@rogue-research.com" target="_blank">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></div></div><span class="HOEnZb"><font color="#888888">-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br><br>
</div></div>