Repository navigation
coverage(qnx): build the baseline notes of untested files unoptimised - #704
Merged
Merged
Conversation
The scope's .gcno notes of untested files are built in the exec configuration, which takes the host options and defaults to opt, so GCC folded lines that the -O0 test builds have (score_coverage 0.4.2). Signed-off-by: Dan Calavrezo <195309321+dcalavrezo-qorix@users.noreply.github.com>
dcalavrezo-qorix
requested review from
4og,
antonkri and
fbaeuerle
as code owners
October 19, 2026 09:45
Contributor
|
Documentation preview for this pull request is available at: |
Contributor
Author
|
Effect on the QNX on-target report (this PR's run vs. main's last run, same 702 gcno notes, 276 tests):
With the host options at |
4og
approved these changes
Oct 19, 2026
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One line in
coverage:qnx_cov:--host_cxxopt=-O0.The scope's baseline
.gcnonotes of untested files are built in the exec configuration, which takes the host options and defaults toopt. GCC then optimises those translation units and their line tables differ from the test builds; a foldedreturn 0loses its line, so the 0 % entries of untested files have fewer lines than they should. Found while fixing eclipse-score/coverage_tool#40 and documented in the 0.4.2 release notes and user manual step 4b. The LLVM backend is unaffected (front-end mapping).Independent of the score_coverage version; Renovate's bump to 0.4.2 comes separately.