Skip to content

Commit

Permalink
fix ament_clang_format test dependency for CMake
Browse files Browse the repository at this point in the history
I tried the <test_depend>ament_cmake_clang_format</test_depend> but colcon test didn't find any tests in this way. After changing it to ament_cmake_clang_format it worked.

From the ament_clang_format doc: "How to run the check from within a CMake ament package as part of the tests? -> The CMake integration is provided by the package ament_cmake_clang_format"

Signed-off-by: Richard van de Ketterij <[email protected]>
  • Loading branch information
Richard van de Ketterij committed Jul 1, 2022
1 parent 418a69c commit 6b072c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ament_lint_auto/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ test dependencies.
<test_depend>ament_lint_auto</test_depend>
<!-- add test dependencies on any linter, e.g. -->
<test_depend>ament_clang_format</test_depend>
<test_depend>ament_cmake_clang_format</test_depend>
<test_depend>ament_cppcheck</test_depend>
<test_depend>ament_pycodestyle</test_depend>
Expand Down

0 comments on commit 6b072c9

Please sign in to comment.