Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 749efd2

Browse files
committed
Auto merge of rust-lang#2174 - RalfJung:summary, r=oli-obk
print list of failed tests in summary compiletest does this and it is quite useful; see e.g. [here](https://github.com/rust-lang/rust/runs/6473917188?check_suite_focus=true). Example output: ![image](https://user-images.githubusercontent.com/330628/171382085-21674f46-9db4-49ef-9c52-2be06b307e28.png)
2 parents 40306ba + 9b9edc7 commit 749efd2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ui_test/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,11 @@ pub fn run_tests(config: Config) {
209209
eprintln!();
210210
}
211211
}
212+
eprintln!("{}", "failures:".red().underline());
213+
for (path, _miri, _revision, _errors, _stderr) in &failures {
214+
eprintln!(" {}", path.display());
215+
}
216+
eprintln!();
212217
eprintln!(
213218
"test result: {}. {} tests failed, {} tests passed, {} ignored, {} filtered out",
214219
"FAIL".red(),

0 commit comments

Comments
 (0)