colcon / colcon-lcov-result

A colcon extension for collecting lcov output
http://colcon.readthedocs.io
Apache License 2.0
7 stars 5 forks source link

Remove any *CMakeC[XX]CompilerId.gcno files #30

Closed christophebedard closed 1 year ago

christophebedard commented 1 year ago

This is similar to #5, see #4. That fix removes any CMakeCCompilerId.gcno or CMakeCXXCompilerId.gcno files.

However, I found files called a-CMakeCCompilerId.gcno and a-CMakeCXXCompilerId.gcno, so the current fix didn't work. Instead, remove any files that end with CMakeCCompilerId.gcno or CMakeCXXCompilerId.gcno. I haven't tried tracking down the upstream change that explains why there's now a a- prefix (potentially in lcov or gcov), but this fix works.