Skip to content

Commit

Permalink
(DO NOT MERGE) Don't call json::extract_rendered for non-compiler o…
Browse files Browse the repository at this point in the history
…utput
  • Loading branch information
Zalathar committed Aug 13, 2024
1 parent 91376f4 commit b4c7a05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/compiletest/src/runtest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3892,7 +3892,7 @@ impl<'test> TestCx<'test> {

let stderr = if self.force_color_svg() {
anstyle_svg::Term::new().render_svg(&proc_res.stderr)
} else if explicit_format {
} else if explicit_format || matches!(output_kind, TestOutput::Run) {
proc_res.stderr.clone()
} else {
json::extract_rendered(&proc_res.stderr)
Expand Down

0 comments on commit b4c7a05

Please sign in to comment.