Michael Förderer
Michael Förderer
Please can you check the log of the upload? This sounds like https://github.com/gcovr/gcovr/issues/914#issuecomment-2041582835.
And codecov doesn't finde the provided coverage.xml file. Can it be a output path issue? What is if you remove the instrumentation files before running the upload?
We also use this option in our own tests, see https://github.com/gcovr/gcovr/blob/0574ae53e441151eb8146cd4e803a268fb1f3494/.github/workflows/test.yml#L198-L210
In C++ there are branches generated by the compiler for e.g. exception handling. Please try the options `--exclude-unreachable-branches`, `--exclude-throw-branches` and `--exclude-unreachable-branches`?
Sorry, the third one is `--exclude-noncode-lines`. And you should also turn off the optimizations.
Can you check on the raw gcov files?
You can run gcovr with the option `--gcov-keep` which will keep the files after processing them. Search the file corresponding to your source file and check the data for this...
Closing because of no response.
We're waiting already for the release of version 14 to finish #766
@latk How shall we continue with the decision coverage? With gcc 14 this wouldn't be needed anymore.