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:
Jynn Nelson
2025-10-23 13:57:21 -04:00
parent f5e2df741b
commit 5976015e72
+6 -2
View File
@@ -207,8 +207,12 @@ pub(super) fn run_ui_test(&self) {
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.