-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
No coverage from killed subprocesses #235
Comments
This is a compiler bug (or limitation). (Also, even |
@taiki-e Thank your for the quick response. A note though: rust-lang/rust#77553 mentions something akin
However, I see this on a Linux machine. |
rust-lang/rust#77553 is about
|
If exit is only used in the main function a quick and dirty way of circumventing this issue is to let main return an |
I have found an option that potentially handles this well (#280), but something seems to be missing to actually make it work. |
I have the following setup:
With this setup, zero coverage is reported. What could be the culprit, and how can I get cargo-llvm-cov to report some coverage out of this setup?
Edit: It turns out I get a sensible coverage report if the process
exit()
s instead of being killed. Is there any way around this?The text was updated successfully, but these errors were encountered: