compiletest: Do not deduplicate diagnostics in UI tests
This commit is contained in:
parent
c404ce689f
commit
41318e9a26
1 changed files with 2 additions and 0 deletions
|
|
@ -1864,12 +1864,14 @@ impl<'test> TestCx<'test> {
|
|||
rustc.args(&["--error-format", "json"]);
|
||||
}
|
||||
rustc.arg("-Zui-testing");
|
||||
rustc.arg("-Zdeduplicate-diagnostics=no");
|
||||
}
|
||||
Ui => {
|
||||
if !self.props.compile_flags.iter().any(|s| s.starts_with("--error-format")) {
|
||||
rustc.args(&["--error-format", "json"]);
|
||||
}
|
||||
rustc.arg("-Zui-testing");
|
||||
rustc.arg("-Zdeduplicate-diagnostics=no");
|
||||
}
|
||||
MirOpt => {
|
||||
rustc.args(&[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue