Rostest fails when executing with catkin_make run_tests
Hello to everyone.
I am facing a problem when executing rostests with catkinmake runtests. 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 rospkg testnode.test, and it passes with catkinmake runtestsrospkgrostestlaunchtestnode.test, it fails only with "catkinmake runtests", 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: addrostestgtest. Note: Tests fail with catkinmake runtests like 99% of the time, sometimes they pass.
I am using: ros kinetic roscpp gazebo version 7.13.1 ubuntu 16.04
Asked by flamurberisha on 2018-07-03 04:46:44 UTC
Comments
Hey, did you find a solution in the meantime? We are having exactly the same problem.
Asked by Felix Widmaier on 2018-09-26 08:38:19 UTC