-
Notifications
You must be signed in to change notification settings - Fork 8
Fix deprecated lcov arguments #41
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
base: master
Are you sure you want to change the base?
Conversation
So we should still support Ubuntu 22.04, which has lcov version 1.15 (or 1.14 according to In that case, you could get the lcov version (by running |
I've fixed the test failure, so you can rebase your branch on |
eadd7f8
to
1261818
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #41 +/- ##
=======================================
Coverage 95.94% 95.94%
=======================================
Files 3 3
Lines 74 74
Branches 11 11
=======================================
Hits 71 71
Misses 2 2
Partials 1 1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
branc_coverage seems to work in Ubuntu 22 (added the distro to WSL for a quick test) ![]() However I can also add the mechanism to detect |
I don't think that actually means it's valid. For example, with a random name: $ lcov --version
lcov: LCOV version 1.14
$ lcov --rc eihrihduifiddjipfh8difidnjfiujfbhidp
lcov: Option rc, key "eihrihduifiddjipfh8difidnjfiujfbhidp", requires a value
lcov: Need one of options -z, -c, -a, -e, -r, -l, --diff or --summary
Use lcov --help to get usage information It might still be supported, but you would need to fully test |
You are right, my testing method was inadequate. I will do some more testing and the necessary tweaks if needed. Unfortunately, I found that this is not really the biggest problem when using this package on Ubuntu 24. When using Google test, I got a large number of Found this issue from lcov package, and based on the info I created a simple bash script to replace this package in my CI environment at least for now. |
Yeah, I've had similar issues and haven't been using I think it's probably safe to assume that |
Fixes #40.