<div dir="ltr">Coverage is broken on the Macs. Do not rely on Mac coverage.<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 29, 2013 at 7:47 PM, Jean-Christophe Fillion-Robin <span dir="ltr"><<a href="mailto:jchris.fillionr@kitware.com" target="_blank">jchris.fillionr@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Folks, <div><br></div><div>VTK coverage is setup on two dashboard:</div><div>  1) MacLion-Clang-3.0-debug: <a href="http://open.cdash.org/viewCoverage.php?buildid=2920701" target="_blank">http://open.cdash.org/viewCoverage.php?buildid=2920701</a><br>


<div>  2) Ubuntu-Coverage: <a href="http://open.cdash.org/viewCoverage.php?buildid=2921192&status=3" target="_blank">http://open.cdash.org/viewCoverage.php?buildid=2921192&status=3</a></div><div><br></div><div>Now, if we look at the coverage of the file "vtkRenderingCoreModule.h", we can see that:</div>


<div><br></div><div> - On a Ubuntu dashboard, the file is covered without any issue. See [1]</div><div><br></div><div> - On a MacOSX dashboard, despite all tests have been executed, the file is not covered at all. Checking the dashboard logs, we can read the following error:</div>


<div><br></div><div>// ----------</div><div>[...]</div><div><div> Something went wrong</div><div> Cannot find file: [/Volumes/BIGMAC1/Dashboards/MyTests/VTK_BLD_Coverage/Rendering/Core/vtkRenderingCoreModule.h]</div>

<div> in source dir: [/Users/kitware/Dashboards/MyTests/VTK_SRC_Coverage]</div><div> or binary dir: [50]</div><div>[...]</div><div>// ----------<br></div></div><div><br></div><div>Seems the binary directory is incorrect. The value "50" is reported. Looking at the source code of CMake, this should corresponds to the BuildDirectory Ctest configuration. [2]</div>


<div><br></div><div>I am also wondering if this could justify the low coverage reported by the dashboard despite of the fact all tests have been executed.<br></div><div><br></div><div>Before investigating further, does somebody faced a similar issue in the past ? </div>


<div> Did I miss something in the dashboard script configuration [3] ? </div><div> Or something wrong in vtk_common.cmake ?</div><div> Or is there something wrong with CMake ? </div><div><br></div>

<div>Thanks,</div><div>Jc</div><div><br></div><div>[1] <a href="http://open.cdash.org/viewCoverageFile.php?buildid=2921192&fileid=11204252" target="_blank">http://open.cdash.org/viewCoverageFile.php?buildid=2921192&fileid=11204252</a></div>


<div>[2] <a href="https://github.com/Kitware/CMake/blob/61ace1df2616e472d056b302e4269cbf112fb020/Source/CTest/cmCTestCoverageHandler.cxx#L334-335" target="_blank">https://github.com/Kitware/CMake/blob/61ace1df2616e472d056b302e4269cbf112fb020/Source/CTest/cmCTestCoverageHandler.cxx#L334-335</a></div>


<div>[3] <a href="https://gist.github.com/jcfr/5674731" target="_blank">https://gist.github.com/jcfr/5674731</a><span class="HOEnZb"><font color="#888888"><br clear="all"><div><br></div>-- <br><a href="tel:%2B1%20919%20869%208849" value="+19198698849" target="_blank">+1 919 869 8849</a><br>

</font></span></div></div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Unpaid intern in BillsBasement at noware dot com<br>
</div>