Rollup merge of #136630 - jieyouxu:render_tests, r=ChrisDenton

Change two std process tests to not output to std{out,err}, and fix test suite stat reset in bootstrap CI test rendering

I don't really know how to test if this unbreaks CI (since #136607 reported that this breaks the CI test rendering *sometimes*).

Fixes #136607.

r? `@ChrisDenton` (two Windows process tests, but feel free to reroll)
This commit is contained in:
Matthias Krüger 2025-02-06 13:10:05 +01:00 committed by GitHub
commit 5b224253c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 3 deletions

View file

@ -310,6 +310,9 @@ impl<'a> Renderer<'a> {
match message {
Message::Suite(SuiteMessage::Started { test_count }) => {
println!("\nrunning {test_count} tests");
self.benches = vec![];
self.failures = vec![];
self.ignored_tests = 0;
self.executed_tests = 0;
self.terse_tests_in_line = 0;
self.tests_count = Some(test_count);