Closed
Description
When a process unexpectedly fails/succeeds, compiletest will often print a full dump of its stdout and stderr for diagnostic purposes.
When this happens, ProcRes::print_info
calls into extract_rendered
, which has special handling for lines starting with {
. It tries to parse the line as JSON in one of a few known compiler-specific formats, in order to replace it with a more human-friendly message.
If the line doesn't match any of those formats (or isn't valid JSON), the extractor code will panic, instead of just printing the line as-is. This is awkward in cases where we actually wanted to print the line as-is anyway, because now the error messages are less helpful.
@rustbot label +A-compiletest
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done