[CMake] Coverage Tests
Daniel Stonier
d.stonier at gmail.com
Mon Dec 28 08:34:30 EST 2009
Had a problem with coverage tests on gentoo today.
Cmake 2.6.4-r3, g++ 4.3.2-r3, ccache 2.4-r7.
It couldn't find the coverage files, even with cflags and link flags
enabling "-fprofile-arcs -ftest-coverage". Similar worked on ubuntu no
problem.
A workaround for it I found was to explicitly link in the gcov library, so
with link flags it became "-fprofile-arcs -ftest-coverage -lgcov".
Is this expected/normal?
Regards,
Daniel.
--
Phone : +82-10-5400-3296 (010-5400-3296)
HomePage: http://snorriheim.dnsdojo.com/
Yujin Robot: http://www.yujinrobot.com/
Projects: http://snorriheim.dnsdojo.com/redmine/projects
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091228/9ed58756/attachment.htm>
More information about the CMake
mailing list