Support for LIT tests returning TIMEOUT was added a while back.
If a LIT test returns TIMEOUT, LitTestCommand reports an Unexpected test result error.
lldb.tests test lldb 28 expected failures Unexpected test result output TIMEOUT 28 expected passes stdio TIMEOUT: LLDB::15-breakpoint-by-symbol-disable-no-hit
With this fix, a count of timeouts and timeout reason are displayed in the title.
lldb.tests test lldb 6 unexpected failures 28 expected failures 2 timeout waiting for results 21 expected passes
I'm open to changing the timeout description "waiting for results". I can't think of anything better atm.
My use case is a Pexpect exception on "read non-blocking error" on expect_exact waiting for an LLDB prompt.