[lldb-dev] [Bug 25703] New: test runner does not feed timeouts through the test event system

via lldb-dev lldb-dev at lists.llvm.org
Tue Dec 1 21:48:43 PST 2015


https://llvm.org/bugs/show_bug.cgi?id=25703

            Bug ID: 25703
           Summary: test runner does not feed timeouts through the test
                    event system
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: todd.fiala at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The parallel test runner detects timeouts at the level of running the inferior
dotest.py process and having that take too long to finish.

The code in the parallel test runner that knows about the timeout doesn't have
a connection to the test event system.  It is the dotest inferior (the thing
that timed out and was killed because of it) that had the connection (via
socket) to report test events to the event collector.

When a timeout occurs, a test event should be generated and sent to the event
collector.  This likely will involve making a socket and connecting to the
event collector.

Once this is complete, a basic ResultsFormatter-based test results summary
generation should be able to entirely replace the legacy parallel test summary
output.  (Right now I can replace all of it but the timeout handling).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20151202/fe8a2cf1/attachment.html>


More information about the lldb-dev mailing list