-
Notifications
You must be signed in to change notification settings - Fork 349
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
Opt-in into Miri tests #1758
Comments
Miri has no control over which tests are run -- it just interprets the test harness in the same way that that test harness would usually be executed when being run outside Miri. The only extra bit is that
Does one of these work for you? |
I see thanks. I'll go either for Thanks |
I'm currently blocked by #602, #1719, so most of my tests are async tokio tests. I have some uses of
unsafe
and I'd like to enable Miri only for the tests that somehow use thestruct
s andfn
s that use theunsafe
without havingasync
involved in any way. I guess I could ignore every single test case and just not ignore the few that I have that check theunsafe
parts but I think this could be easier.If this has a workaround please update the README under https://github.com/rust-lang/miri#using-miri to let ppl know this is possible.
Also maybe this could more easily let ignore tests resulting in helping with #654.
The text was updated successfully, but these errors were encountered: