[Lldb-commits] [PATCH] D12651: Add ctrl-c support to parallel dotest.py.

Todd Fiala via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 4 15:21:13 PDT 2015

tfiala created this revision.
tfiala added reviewers: clayborg, zturner.
tfiala added a subscriber: lldb-commits.

This change does the following:

* If Ctrl-C is hit once, the parallel dotest.py runner will stop any further work from being started, but will wait for the existing tests in progress to complete.
* If Ctrl-C is hit a second time, the parallel dotest.py will kill the process trees for the child worker threads and the inferior dotest.py processes they spawned.

In both cases, the report infrastructure is left intact to report on whatever work was completed before it stopped.  Thus, if 42 tests ran when the test was keyboard interrupted, the results for those 42 tests will be displayed.

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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12651.34084.patch
Type: text/x-patch
Size: 8136 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150904/774fb9f3/attachment.bin>

More information about the lldb-commits mailing list