-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Opening a window from a test prevents libtest from outputting the test result #84137
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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: