You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use tarpaulin to get a coverage report for my crate hw-exception. This crate is designed for, among other things, handling and recovering from segfaults. Unsurprisingly, it has tests which segfault, and then recover. Tarpaulin, however, panics as soon as ptrace notifies it of the segfault, without seeing whether the program being traced is going to handle the signal. It is therefore unable to give me a useful coverage report.
The text was updated successfully, but these errors were encountered:
If you run with --engine=llvm you may circumvent a lot of complexity with handling signals. Provided this isn't another edge case llvm coverage fails to handle.
I'll keep it open for now to remind me to investigate, if it proves too tricky to do with ptrace I'll close it later on as a won't fix and just recommend people use --engine llvm
I'm trying to use tarpaulin to get a coverage report for my crate
hw-exception
. This crate is designed for, among other things, handling and recovering from segfaults. Unsurprisingly, it has tests which segfault, and then recover. Tarpaulin, however, panics as soon as ptrace notifies it of the segfault, without seeing whether the program being traced is going to handle the signal. It is therefore unable to give me a useful coverage report.The text was updated successfully, but these errors were encountered: