-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use clang for coverage #119
Conversation
Use Clang when generating coverage data. It is faster than GCC and reports higher branch coverage. Coverage reports are now generated with `lcov` rules and CI is updated to use `//tools:lcov_list`. Change-Id: I84311f28070a13520684349e8e4ebfb538a7d002
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #119 +/- ##
===========================================
- Coverage 97.54% 81.48% -16.07%
===========================================
Files 15 2 -13
Lines 408 54 -354
Branches 0 8 +8
===========================================
- Hits 398 44 -354
+ Misses 10 6 -4
- Partials 0 4 +4 ☔ View full report in Codecov by Sentry. |
cbae15d
to
3477bff
Compare
test coverage has decreased but I think that was due to a mistake in the target specifications |
this commit now adds branch coverage data which did not exist before. codecov is now considering some lines partially covered when it used to consider them fully covered. |
coverage --strategy=CoverageReport=local | ||
# At least some of this is needed for the coverage tool to work. | ||
coverage --experimental_split_coverage_postprocessing | ||
coverage --experimental_fetch_all_coverage_outputs | ||
coverage --remote_download_outputs=all | ||
coverage --experimental_remote_download_regex=.*/((testlogs/.*/_coverage/.*)|coverage.dat$|_coverage/_coverage_report.dat$) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we may want to keep these 5 lines
Use Clang when generating coverage data. It is faster than GCC and
reports higher branch coverage.
Coverage reports are now generated with
lcov
rules and CI is updatedto use
//tools:lcov_list
.Change-Id: I84311f28070a13520684349e8e4ebfb538a7d002