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

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@lists.llvm.org
Reporter todd.fiala@gmail.com
CC llvm-bugs@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.

Todd Fiala changed bug 24709