[ros-users] Test Coverage?

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
+ smime.p7s (application/pkcs7-signature)
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Fazzari, Kyle R CIV NSWCDD, G82
日付:  
To: ros-users@lists.ros.org
題目: [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