[Lldb-commits] [PATCH] D12987: test events: announce worker count in new initialize event

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


tfiala created this revision.
tfiala added a reviewer: clayborg.
tfiala added a subscriber: lldb-commits.

This change:
- renames TestFormatter.process_event() to TestFormatter.handle_event()
- does away with TestFormatter.begin_session()/end_session(), replacing them with new initialize and terminate events.  Now everything goes through handle_event().
- passes the worker count (thread/process count) in the initialize event.
- really adds the inferior dotest.py pid to all test events.  Looks like I lost that at some point as it was only coming in on the inferior process begin/end messages.
- names the inferior process begin/end messages to job_begin and job_end.
- fixes some ugly output and invalid handling when Ctrl-C happened with my previous change (grabbing the worker index would blow up when we were tearing down the multiprocessing.Manager when accessing its shared proxy dictionary.)

http://reviews.llvm.org/D12987

Files:
  test/dosep.py
  test/dotest.py
  test/dotest_args.py
  test/test_results.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12987.35145.patch
Type: text/x-patch
Size: 16138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150918/bf852377/attachment-0001.bin>


More information about the lldb-commits mailing list