mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Render test messages from bootstrap
This commit is contained in:
parent
965cf5c1f5
commit
59dff762bc
@ -168,9 +168,14 @@ 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);
|
||||
println!("{stdout}");
|
||||
if let Some(stdout) = &failure.stdout {
|
||||
println!("{stdout}");
|
||||
}
|
||||
if let Some(message) = &failure.message {
|
||||
println!("note: {message}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user