Andrew,<br><br>To compute the coverage for your unit tests, (assuming a linux build),<br>  0)  Use Linux<br>        - install lcov<br>        - use the gcc compiler<br>   <br>   1)  Add the CMake flags:   <br>   <br>       CMAKE_CXX_FLAGS:STRING=-g -O0  -fprofile-arcs -ftest-coverage   <br>
       CMAKE_C_FLAGS:STRING= -g -O0  -fprofile-arcs -ftest-coverage   <br>   <br>   2)  Compile VTK for Debug   <br>   <br>                     CMAKE_BUILD_TYPE  Debug   <br><br>../VTK/Utilities/Maintenance/computeCodeCoverageLocallyForOneTest.sh Common/Color -R CommonColor<br>
<br>I'll be adding a wiki page soon to document this process.<br><br>Bill<br>