Skip to content

Use gcov version that matches GNU compiler.#866

Merged
eyal0 merged 1 commit into
pcb2gcode:masterfrom
eyal0:gcov_match_gcc
Mar 29, 2026
Merged

Use gcov version that matches GNU compiler.#866
eyal0 merged 1 commit into
pcb2gcode:masterfrom
eyal0:gcov_match_gcc

Conversation

@eyal0

@eyal0 eyal0 commented Mar 29, 2026

Copy link
Copy Markdown
Contributor

If the GNU compiler version doesn't match the gcov version, lcov will report an error. Usually version of gcc and g++ are installed as g++-10, g++-11, etc, and gcov will be installed as gcov-10, gcov-11, etc. This code tries to match that. If it doesn't match, it falls back to the regular gcov.

If the GNU compiler version doesn't match the gcov version, lcov will
report an error.  Usually version of gcc and g++ are installed as
g++-10, g++-11, etc, and gcov will be installed as gcov-10, gcov-11,
etc.  This code tries to match that.  If it doesn't match, it falls
back to the regular gcov.
@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 91.189%. remained the same
when pulling b9060ec on eyal0:gcov_match_gcc
into a860bf1 on pcb2gcode:master.

@eyal0
eyal0 merged commit 0001766 into pcb2gcode:master Mar 29, 2026
18 checks passed
@eyal0
eyal0 deleted the gcov_match_gcc branch March 29, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants