Rollup merge of #148044 - jyn514:compiletest-logging, r=Zalathar

compiletest: show output in debug logging

I had a test I was confused by; the root issue is that `error-pattern` runs before normalization, even though `//~ ERROR` runs after normalization. This logging caught the issue immediately.
This commit is contained in:
Stuart Cook
2025-10-28 20:39:36 +11:00
committed by GitHub

View File

@@ -207,8 +207,12 @@ impl TestCx<'_> {
debug!(
"run_ui_test: explicit={:?} config.compare_mode={:?} \
proc_res.status={:?} props.error_patterns={:?}",
explicit, self.config.compare_mode, proc_res.status, self.props.error_patterns
proc_res.status={:?} props.error_patterns={:?} output_to_check={:?}",
explicit,
self.config.compare_mode,
proc_res.status,
self.props.error_patterns,
output_to_check,
);
// Compiler diagnostics (expected errors) are always tied to the compile-time ProcRes.