Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/tools/compiletest/src/runtest/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,15 @@ impl TestCx<'_> {
0
};
if run_output_errors > 0 {
debug!("proc_res: {}", proc_res.stdout);
self.fatal_proc_rec(
&format!("{} errors occurred comparing run output.", run_output_errors),
&proc_res,
);
}
if self.should_run_successfully(pm) {
if !proc_res.status.success() {
debug!("proc_res: {}", proc_res.stdout);
self.fatal_proc_rec("test run failed!", &proc_res);
}
} else if proc_res.status.success() {
Expand Down
Loading