Skip to content

Commit

Permalink
enable tests in CMakeLists.txt and package.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
betab0t committed Feb 3, 2019
1 parent 6ec2324 commit c968ba8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Expand Up @@ -199,3 +199,8 @@ include_directories(

## Add folders to be run by python nosetests
# catkin_add_nosetests(test)

if (CATKIN_ENABLE_TESTING)
find_package(rostest REQUIRED)
add_rostest(test/test_vector_node.launch)
endif()
1 change: 1 addition & 0 deletions package.xml
Expand Up @@ -52,6 +52,7 @@
<build_depend>rospy</build_depend>
<build_depend>message_generation</build_depend>
<build_depend>actionlib_msgs</build_depend>
<build_depend>rostest</build_depend>
<build_export_depend>rospy</build_export_depend>
<build_export_depend>message_runtime</build_export_depend>
<exec_depend>rospy</exec_depend>
Expand Down

0 comments on commit c968ba8

Please sign in to comment.