Commit ca4befb
committed
compiletest: Don't panic when trying to print unknown JSON after failure
If we're printing process output after some other check has failed, and the
output is JSON-like, we shouldn't necessarily assume that it is valid JSON
produced by the compiler. If it isn't, printing it as-is is more helpful than
printing a less-relevant error message.1 parent 9275ae5 commit ca4befb
2 files changed
+19
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
95 | 100 | | |
96 | 101 | | |
97 | 102 | | |
| |||
125 | 130 | | |
126 | 131 | | |
127 | 132 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
133 | 143 | | |
134 | 144 | | |
135 | 145 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
3783 | 3783 | | |
3784 | 3784 | | |
3785 | 3785 | | |
3786 | | - | |
| 3786 | + | |
3787 | 3787 | | |
3788 | 3788 | | |
3789 | 3789 | | |
| |||
4564 | 4564 | | |
4565 | 4565 | | |
4566 | 4566 | | |
4567 | | - | |
| 4567 | + | |
4568 | 4568 | | |
4569 | 4569 | | |
4570 | 4570 | | |
| |||
0 commit comments