Lit expects a test status line (kTestLineRE) before a verbose log start marker (kTestVerboseLogStartRE).
FAIL: LLDB :: asdf (9 of 20) *** TEST 'LLDB :: asdf' FAIL ***
If the test status line is malformed, LitTestCommand has an exception at outLineReceived, and testInfoFinished because lastTestResult is None.
FAIL: LLDB :: asdf *** TEST 'LLDB :: asdf' FAIL ***
Another case of mismatched status/log lines skips the log entry.
This patch handles lastTestResult is None, and skips the log entry.
Maybe handle it the other way around?
Handling the normal case first and the error case at the end. Something like: