-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Test-drive grcov for coverage reports #433
Comments
I've not been able to get grcov or llvm-cov to report coverage from the coverage files output by |
That's strange, cargo-cov should simply use -Zprofile, which should be supported by grcov. We are generating coverage reports for grcov itself using -Zprofile (but without cargo-cov). Mind sending me the gcno/gcda files that you generate, so I can see if grcov is somehow failing to parse them? |
Got it working now @marco-c, thanks for the push. The run when I used grcov, I mistakenly ran |
@rob-solana, @mvines, @marco-c, code coverage status:
|
so good... test driving it on WSL |
If you can share the gcnos with me, I can take a look at why grcov is unable to parse them. |
…olana-labs#433) * Add failing test * Add Transfer2 to failing test * Add source-delegate to failing test * No need to hold source RefMut in process_transfer * Fixup comments * Add destination-owner test case * Add source-multisig test case
This was erronously deemed as unnecessary and removed in: anza-xyz#864 The commit partially reverts solana-labs#864 and adds back socket-addr dedup.
@marco-c advises
grcov
overllvm-cov
for coverage reports. Test-drive it. Compare and contrast.The text was updated successfully, but these errors were encountered: