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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to