Files
ardupilot/Tools/scripts
Peter Barker 25dc1c4640 Tools: run_coverage.py: cope with lcov 2.x fatal error classes
lcov 2.x, as shipped in the Ubuntu 24.04 CI containers, promotes two
conditions the weekly coverage run always hits from warnings to fatal
errors:

 - "mismatched end line": two functions starting on the same source
   line with different end lines.  Every gtest TEST() body trips this,
   as the macro also defines the fixture constructor and destructor on
   the TEST() line, so both lcov --capture invocations abort.
 - "unused": a --remove pattern which matched nothing; ".waf*" never
   matches, so the pattern-removal step aborts.

Pass --ignore-errors for those classes on the affected invocations.
lcov 1.x rejects unknown error classes, so the arguments are only
emitted when lcov reports version 2 or later.
2026-09-23 08:37:53 +10:00
..
2026-09-04 11:11:33 +10:00
…