ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
OK so the CMakelists.txt file was in the test directory. Basically everything got confused as to where the test file was during the build.
Solution explicitly state where the file is in the project:
rosbuild_add_rostest(${PROJECT_SOURCE_DIR}/test/differential_drive.test)
or, per my example:
rosbuild_add_rostest(${PROJECT_SOURCE_DIR}/smurf/differential_drive.test)
2 | No.2 Revision |
OK so the CMakelists.txt file was in the test directory. Basically everything got confused as to where the test file was during the build.
Solution Solution, explicitly state where the file is in the project:
rosbuild_add_rostest(${PROJECT_SOURCE_DIR}/test/differential_drive.test)
or, per my example:
rosbuild_add_rostest(${PROJECT_SOURCE_DIR}/smurf/differential_drive.test)