Closed cottsay closed 4 months ago
Changes either to ament_cppcheck
It was most likely https://github.com/ament/ament_lint/pull/345 ; cppcheck versions > 2.0 are ridiculously slow, so I ended up disabling them when we switched to Ubuntu 22.04. It looks like Almalinux 8 has cppcheck 2.4 and Almalinux 9 has cppcheck 2.9, so both of them are essentially "skipped" anyway.
Anyway, since we are skipping this in code now, I'm happy to remove this bit from the CI scripts.
So are we only running cppcheck tests on Humble then? Or I'd suppose Windows runs them?
So are we only running cppcheck tests on Humble then?
No, even on Humble it is disabled. I think we are only running them on Windows. In all honesty, we can probably drop ament_cppcheck
from the default set of linters, but that is a slightly different discussion.
Previously, the version of cppcheck distributed in RHEL resulted in many (unactionable) linter failures only present on RHEL. Given the limited utility of running the linters on RHEL to begin with, we decided to simply skip the tests.
Changes either to ament_cppcheck or the version of cppcheck distributed in RHEL now appear to allow these tests to run successfully, and the cost of maintaining this special case now outweigh the benefit.
Reverts part of #567
Rolling:
Iron:
Humble: ![Build Status](https://ci.ros2.org/buildStatus/icon?job=ci_linux-rhel&build=596)