mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 19:58:32 +00:00
Render test messages from bootstrap
This commit is contained in:
parent
965cf5c1f5
commit
59dff762bc
@ -168,10 +168,15 @@ impl<'a> Renderer<'a> {
|
||||
if !self.failures.is_empty() {
|
||||
println!("\nfailures:\n");
|
||||
for failure in &self.failures {
|
||||
if let Some(stdout) = &failure.stdout {
|
||||
if failure.stdout.is_some() || failure.message.is_some() {
|
||||
println!("---- {} stdout ----", failure.name);
|
||||
if let Some(stdout) = &failure.stdout {
|
||||
println!("{stdout}");
|
||||
}
|
||||
if let Some(message) = &failure.message {
|
||||
println!("note: {message}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
println!("\nfailures:");
|
||||
|
Loading…
Reference in New Issue
Block a user