Thou shall receive the patch :)
On Thu, Sep 18, 2014 at 5:56 PM, David Cole wrote:
> My apologies. I take it back -- gcov apparently does work on the Mac
> nowadays.
>
> It is a ctest issue, then, and when using Xcode, ctest will need to look
> in some additional locations for the coverage data
As David suggested I did following experiment.
I created two Test projects.
*Project1: *
*set(CTEST_SOURCE_DIRECTORY /Users/rajekumar/work/test-codes/TestUnix)*
*set(CTEST_BINARY_DIRECTORY /Users/rajekumar/work/test-codes/TestUnix/out)*
*set(CTEST_CMAKE_GENERATOR "Unix Makefiles")*
*set(CTEST
Hi,
Thanks for your responses.
As David mentioned I don't have to set the COVFILE if I don't have the
Bullseye.
I am already using the -fprofile-arcs -ftest-coverage hence .gcna & .gcno
files are getting generated.
Here is my CMakeLists.txt : http://pastebin.com/hQt2htkK
Here is my ctest script
Hi,
I am trying to configure the code coverage using the ctest script. I took
help from : http://www.cmake.org/Wiki/CTest/Coverage
My script looks like this:
*cmake_minimum_required(VERSION 3.0)set(CTEST_SOURCE_DIRECTORY
/Users/rajekumar/work/test-codes/Test)set(CTES