[lldb-dev] [Bug 24709] New: dotest.py parallel mode does not gracefully quit with ^C

via lldb-dev lldb-dev at lists.llvm.org
Fri Sep 4 12:55:30 PDT 2015


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

            Bug ID: 24709
           Summary: dotest.py parallel mode does not gracefully quit with
                    ^C
           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

dotest.py in parallel mode, like dosep.py before it, does not actually break
out correctly when we hit ^C.  Instead, the user is left with a ton of worker
threads in various states that keep chugging away and a terminal that does not
return.

Make ^C work in parallel execution mode.


KNOWN WORKAROUNDS

The POSIX-y workaround for this has typically been a 'killall python' (or a
slightly more sophisticated script that limits to the dotest.py python
processes).

Another workaround is to use --no-multiprocess if the user is doing a single
test or test dir and wants to view it in realtime, as ^C is working fine in
non-parallel mode.

-- 
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/20150904/fa3b554d/attachment-0001.html>


More information about the lldb-dev mailing list