ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

I had the same error and I was able to solve it. For some reason I was able to run the test script directly with rosrun, but not with rostest. The problem was that I in CMakeLists.txt was installing the test file and script to ${CATKIN_PACKAGE_BIN_DESTINATION} instead of to ${CATKIN_PACKAGE_SHARE_DESTINATION}. After fixing that I can run it with rostest