Skip to content

Commit

Permalink
Add ament_lint tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bjsowa committed Sep 17, 2024
1 parent de4d834 commit 80b85bd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,13 @@ install(TARGETS ${PROJECT_NAME}
DESTINATION lib/${PROJECT_NAME}
)

###########
## Tests ##
###########

if(BUILD_TESTING)
find_package(ament_lint_auto REQUIRED)
ament_lint_auto_find_test_dependencies()
endif()

ament_package()
5 changes: 5 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
<exec_depend>ffmpeg</exec_depend>
<exec_depend>sensor_msgs</exec_depend>

<test_depend>ament_lint_auto</test_depend>
<test_depend>ament_cmake_lint_cmake</test_depend>
<test_depend>ament_cmake_xmllint</test_depend>
<test_depend>ament_cmake_uncrustify</test_depend>

<export>
<build_type>ament_cmake</build_type>
</export>
Expand Down

0 comments on commit 80b85bd

Please sign in to comment.