Hello all,<br><br>I tried to run a CTest and submit it to the CDash to find the covered line of code. I used the Debug mode and the following commands on the cmake options at the build time:<br><br>CMAKE_CXX_FLAGS: -O0 -Wall -W -Wshadow -Wunused-variable -Wunused-parameter -Wunused-function -Wunused \<br>
-Wno-system-headers -Wno-deprecated -Woverloaded-virtual -Wwrite-strings -fprofile-arc -ftest-coverage<br><br>CMAKE_C_FLAGS: -O0 -Wall -W -fprofile-arcs -ftest-coverage<br><br>CMAKE_EXE_LINKER_FLAGS: -fprofile-arcs -ftest-coverage<br>
<br>All the tests are passed and the coverage files are built on the "Testing/CoverageInfo" inside my build directory. However, it could not accumulate the results, and it returns 0% for the percentage coverage. <br>
Actually I do not know why this happened, and how I can do the accumulating and merge the ".gcov" files.<br><br>Thanks,<br>Ali<br>