Skip to content

Commit b4c7a05

Browse files
committed
(DO NOT MERGE) Don't call json::extract_rendered for non-compiler output
1 parent 91376f4 commit b4c7a05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/compiletest/src/runtest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3892,7 +3892,7 @@ impl<'test> TestCx<'test> {
38923892

38933893
let stderr = if self.force_color_svg() {
38943894
anstyle_svg::Term::new().render_svg(&proc_res.stderr)
3895-
} else if explicit_format {
3895+
} else if explicit_format || matches!(output_kind, TestOutput::Run) {
38963896
proc_res.stderr.clone()
38973897
} else {
38983898
json::extract_rendered(&proc_res.stderr)

0 commit comments

Comments
 (0)