-
Notifications
You must be signed in to change notification settings - Fork 59
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
run-pass tests with non-zero exit code is considered passing #210
Comments
I dream about doing an entire merge from upstream, you can see my progress in #201. However, this will remove the I don't know when #201 will be finished, so perhaps we could merge the upstream changes you're talking about in the meantime. |
That's awesome ❤️
That'll be interesting, but I expected this to happen at some point when rustc started to remove run-pass. @oli-obk do you think we can use @Munksgaard can we test this with the |
I haven't gotten a good overview of what's changed with regards to the particular testing modes yet, so I'm afraid I don't know. I also only have sporadic time to work on #201 at the moment, hence my disclaimer in the first comment :-) |
UI test differentiate between stderr and stdout. stdout is dumped directly while stderr is parsed as json. This should not be a problem, because for ui tests we can make miri emit json diagnostics instead of user rendered diagnostics. |
@RalfJung You don't happen to be running these tests in Emacs, do you? I noticed that if the For a while I worked around this by running
|
No, I am running them directly in my console. Also I have no idea how the But also Miri moved to "ui" tests since then, which might behave differently wrt status code checking. |
Currently, run-pass tests are considered successful even if the binary they run exits with a non-zero exit code. This is a critical bug, after all, checking if things ran successfully is the entire point of this crate!
This has been fixed upstream 2 years ago.
The text was updated successfully, but these errors were encountered: