-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Opening a window from a test prevents libtest from outputting the test result #84137
Comments
Transferred to rust-lang/rust as this is an issue with libtest. libtest is the test harness which is responsible for running and reporting tests. I don't have any specific ideas what could cause this. I imagine |
I think this is because |
That makes sense. I had assumed the same thread printed all the output lines. I suppose this is a wontfix then? |
Triage: let's close as duplicate to #67650 which is a about running each test in its own process, which in practice fixes this issue. |
Problem
If I spawn a window in a test I don't see the line
test tests::foo ... ok
. I know the test runs because it is included in the number of passed tests.Steps
cargo test
Actual result:
Expected result:
I've created a minimal crate that reproduces this issue.
Notes
Output of
cargo version
:cargo 1.52.0-nightly (90691f2bf 2021-03-16)
I've seen this result on Linux & Windows.
The text was updated successfully, but these errors were encountered: