Add linting tests to both tracetools* packages
This commit is contained in:
parent
3022d678f9
commit
51f3c16205
4 changed files with 13 additions and 0 deletions
|
@ -91,4 +91,9 @@ else()
|
|||
ament_export_libraries(${PROJECT_NAME})
|
||||
endif()
|
||||
|
||||
if(BUILD_TESTING)
|
||||
find_package(ament_lint_auto REQUIRED)
|
||||
ament_lint_auto_find_test_dependencies()
|
||||
endif()
|
||||
|
||||
ament_package()
|
||||
|
|
|
@ -13,6 +13,9 @@
|
|||
|
||||
<!-- explicitly not depending on LTTng -->
|
||||
|
||||
<test_depend>ament_lint_auto</test_depend>
|
||||
<test_depend>ament_lint_common</test_depend>
|
||||
|
||||
<export>
|
||||
<build_type>ament_cmake</build_type>
|
||||
</export>
|
||||
|
|
|
@ -86,6 +86,9 @@ if(BUILD_TESTING)
|
|||
DESTINATION lib/${PROJECT_NAME}
|
||||
)
|
||||
|
||||
find_package(ament_lint_auto REQUIRED)
|
||||
ament_lint_auto_find_test_dependencies()
|
||||
|
||||
find_package(ament_cmake_pytest REQUIRED)
|
||||
|
||||
# Run each test in its own pytest invocation
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
<exec_depend>std_srvs</exec_depend>
|
||||
|
||||
<test_depend>ament_cmake_pytest</test_depend>
|
||||
<test_depend>ament_lint_auto</test_depend>
|
||||
<test_depend>ament_lint_common</test_depend>
|
||||
<test_depend>launch_ros</test_depend>
|
||||
<test_depend>python3-pytest</test_depend>
|
||||
<test_depend>tracetools_trace</test_depend>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue