[ros-users] gtests: is the xml file still generated?

Brian Gerkey gerkey at willowgarage.com
Wed May 18 15:25:00 UTC 2011

On Wed, May 18, 2011 at 2:28 AM, Ugo Cupcic <ugo at shadowrobot.com> wrote:
> Using ros diamondback, I'm not able to find a generated xml file when
> running make test in my package. (I have a rosbuild_add_gtest line in my
> CMakeLists.txt and the test is definitely being run).
> On the wiki (http://www.ros.org/wiki/gtest) it says that it should be
> on $ROS_ROOT/test/test_results/<package-name> but there are no test_results
> directory. I searched my whole code directory for a possible xml file with
> no luck.

Have a look in ~/.ros/test_results.  In general, `rosrun rosunit
test_results_dir.py` will tell you where tests results will be
directed; that's how the build system figures out where to put them.


More information about the ros-users mailing list