[ros-users] Test Coverage?

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ smime.p7s (application/pkcs7-signature)
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Fazzari, Kyle R CIV NSWCDD, G82
Dato:  
Til: ros-users@lists.ros.org
Emne: [ros-users] Test Coverage?
I've been making good use of Google Test in my ROS projects (Fuerte, currently). I'm interested in looking at my code coverage, so I've been playing with using gcov etc. I'm not having any luck getting it to work, and I'm curious if others have.

I added set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 -fprofile-arcs -ftest-coverage") to my CMakeLists.txt file, but when I run "make test" no gcov data is generated anywhere that I can see.

Does anyone have any experience using these three tools together (ROS, gtest, gcov)?

--------------------
Kyle Fazzari
Computer Engineer


_______________________________________________
ros-users mailing list

http://lists.ros.org/mailman/listinfo/ros-users