libtest captures stdout&stderr only on first thread. #31983
Labels
A-libtest
Area: `#[test]` / the `test` library
C-bug
Category: This is a bug.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Hi,
When testing anything multithreaded, the output of non-first thread are directly printed on the console.
I wonder if libtest could maybe expose the
set_panic
andset_print
handlers, so other spawned threads can installed it manually as a workaround.The text was updated successfully, but these errors were encountered: