No version for distro humble. Known supported distros are highlighted in the buttons above.
No version for distro jazzy. Known supported distros are highlighted in the buttons above.
No version for distro kilted. Known supported distros are highlighted in the buttons above.
No version for distro rolling. Known supported distros are highlighted in the buttons above.
No version for distro github. Known supported distros are highlighted in the buttons above.
No version for distro galactic. Known supported distros are highlighted in the buttons above.
No version for distro iron. Known supported distros are highlighted in the buttons above.
No version for distro melodic. Known supported distros are highlighted in the buttons above.
Repository Summary
| Description | |
| Checkout URI | https://github.com/tue-robotics/catkin_lint_cmake.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2025-04-15 |
| Dev Status | MAINTAINED |
| Released | UNRELEASED |
| Tags | No category tags. |
| Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Packages
| Name | Version |
|---|---|
| catkin_lint_cmake | 0.0.1 |
README
catkin_lint_cmake
Catkin macro to run catkin_lint as a catkin run_test.
The catkin_lint library is wrapped to convert it’s xml scheme to a JUnit scheme.
Usage
Add catkin_lint_cmake to your package.xml as a test dependency.
<test_depend>catkin_lint_cmake</test_depend>
In your cmake file, find this package and call the macro to add the test.
if(CATKIN_ENABLE_TESTING)
find_package(catkin_lint_cmake REQUIRED)
catkin_add_catkin_lint_test([ARGS])
endif()
By default, it runs in quiet mode with XML output. You can overrule the quiet mode, but not the XML output. No other default arguments have been overridden.
All arguments of the function are passed to catkin_lint (catkin_lint command line arguments).
Important: catkin_lint will only give a non-zero error-code in case of errors.
Though the macro will take all issues into account based on the selected severity level.
So with -W2 even a notice will cause the test to fail.