Skip to content

Commit

Permalink
compiletest normalization: preserve non-JSON lines such as ICEs
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Apr 7, 2019
1 parent dec0a98 commit 442bef7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/compiletest/src/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ pub fn extract_rendered(output: &str, proc_res: &ProcRes) -> String {
}
}
} else {
None
// preserve non-JSON lines, such as ICEs
Some(format!("{}\n", line))
}
})
.collect()
Expand Down

0 comments on commit 442bef7

Please sign in to comment.