[ros-users] Test Coverage?

Top Page
Attachments:
Message as email
+ (text/plain)
+ smime.p7s (application/pkcs7-signature)
+ (text/plain)
Delete this message
Reply to this message
Author: Fazzari, Kyle R CIV NSWCDD, G82
Date:  
To: ros-users@lists.ros.org
Subject: [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