Re: [CMake] coverage using gcov failed

2013-05-01 Thread Lloyd
On Thu, Apr 25, 2013 at 7:35 PM, Bill Hoffman wrote: > On 4/25/2013 9:52 AM, Bill Hoffman wrote: > >> I see it now. >> >> Can you run: >> >> ctest -D Experimental -VV >> > OK, never mind I know what is wrong... > > make ExperimentalCoverage just does the coverage part. > make Experimental > make E

Re: [CMake] coverage using gcov failed

2013-04-25 Thread Bill Hoffman
On 4/25/2013 9:52 AM, Bill Hoffman wrote: I see it now. Can you run: ctest -D Experimental -VV OK, never mind I know what is wrong... make ExperimentalCoverage just does the coverage part. make Experimental make ExpermentalCoverage should work. Or cd buildtree ctest -T all Available optio

Re: [CMake] coverage using gcov failed

2013-04-25 Thread Bill Hoffman
On 4/25/2013 9:47 AM, Bill Hoffman wrote: I don't see any add_test calls. So, you are not running any code, so there is no code covered. -Bill I see it now. Can you run: ctest -D Experimental -VV -Bill -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www

Re: [CMake] coverage using gcov failed

2013-04-25 Thread Bill Hoffman
On 4/25/2013 8:26 AM, Lloyd wrote: Hi, I am trying cmake in cygwin for code coverage analysis using gcov. My source code is arranged as follows CMakeLists.txt src tests ./src: CMakeLists.txt lib main.cpp ./src/lib: reverse ./src/lib/reverse: CMakeLists.txt reverse.cpp reverse.h ./test

[CMake] coverage using gcov failed

2013-04-25 Thread Lloyd
Hi, I am trying cmake in cygwin for code coverage analysis using gcov. My source code is arranged as follows CMakeLists.txt src tests ./src: CMakeLists.txt lib main.cpp ./src/lib: reverse ./src/lib/reverse: CMakeLists.txt reverse.cpp reverse.h ./tests: CMakeLists.txt test_rev.cpp test