Skip to content

Commit 442bef7

Browse files
committed
compiletest normalization: preserve non-JSON lines such as ICEs
1 parent dec0a98 commit 442bef7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/compiletest/src/json.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ pub fn extract_rendered(output: &str, proc_res: &ProcRes) -> String {
7878
}
7979
}
8080
} else {
81-
None
81+
// preserve non-JSON lines, such as ICEs
82+
Some(format!("{}\n", line))
8283
}
8384
})
8485
.collect()

0 commit comments

Comments
 (0)