Extend json detection in runtest
This commit is contained in:
parent
f1070b1525
commit
1c01646e6f
1 changed files with 3 additions and 1 deletions
|
|
@ -3204,7 +3204,9 @@ impl<'test> TestCx<'test> {
|
|||
let json = cflags.contains("--error-format json")
|
||||
|| cflags.contains("--error-format pretty-json")
|
||||
|| cflags.contains("--error-format=json")
|
||||
|| cflags.contains("--error-format=pretty-json");
|
||||
|| cflags.contains("--error-format=pretty-json")
|
||||
|| cflags.contains("--output-format json")
|
||||
|| cflags.contains("--output-format=json");
|
||||
|
||||
let mut normalized = output.to_string();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue