Open Bug 1446965 Opened 3 years ago Updated 5 months ago
[mozlog] Buffer all test logs in 'mach' formatter and flush on failure
By default, the mach formatter will buffer all TEST_STATUS actions, and only print the ones that failed (this can be overridden by passing in --log-mach-verbose). However the LOG messages aren't buffered. This is confusing because: 1) TEST_STATUS and LOG lines don't appear in the order they were logged 2) A passing TEST_STATUS never appears at all This makes it difficult to piece together what went wrong if something failed. I think we want to preserve buffering of passing tests by default, and only dump the buffer if something failed. The tbpl formatter already buffers all test logs, albeit in a tightly coupled fashion. It would be good to extract this into a shared handler.
Assignee: shraddha.agrawal000 → nobody
You need to log in before you can comment on or make changes to this bug.