Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 417

Rostest fails when executing with catkin_make run_tests

$
0
0
Hello to everyone. I am facing a problem when executing rostests with catkin_make run_tests. My tests(rostest with gtest) are processing data from gazebo simulation (subscribing to ros topics during simulation). The same test passes if I run with rostest --reuse-master ros_pkg test_node.test, and it passes with catkin_make run_tests_ros_pkg_rostest_launch_test_node.test, it fails only with "catkin_make run_tests", and I need this kind of executing because I want to run all the tests. Why tests fail is because there is no communication with gazebo world, so no data from topics. The macro I am using in CMakeLists is: add_rostest_gtest. Note: Tests fail with catkin_make run_tests like 99% of the time, sometimes they pass. I am using: ros kinetic roscpp gazebo version 7.13.1 ubuntu 16.04

Viewing all articles
Browse latest Browse all 417

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>