[test] Output of subprocesses is lost when not using RUST_TEST_NOCAPTURE=1 #42814
Labels
A-libtest
Area: `#[test]` / the `test` library
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
With the following example:
Running with
cargo test
doesn't show theSome stdout
text, while running withRUST_TEST_NOCAPTURE=1 cargo test
outputs it. Thus some output is lost when not running inRUST_TEST_NOCAPTURE=1
mode, which makes some complex tests less convenient to debug.The text was updated successfully, but these errors were encountered: