[Lldb-commits] [PATCH] D121977: [lldb/test] Add progress events listener helper class to lldbutil

Med Ismail Bennani via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 17 23:14:04 PDT 2022


mib created this revision.
mib added reviewers: labath, JDevlieghere.
mib added a project: LLDB.
Herald added a project: All.
mib requested review of this revision.
Herald added a subscriber: lldb-commits.

This patch introduces a generic helper class that will listen for
progress event in a background thread and match it against a source
broadcaster.

If the event received matches the source broadcaster, the event is queue
up in a list that the user can access later on.

The motivation behind this is to easily test new kinds of progress
events (i.e. Swift type-system progress events). However, this patch
also update TestProgressReporting.py to make use of this new helper class.

Signed-off-by: Med Ismail Bennani <medismail.bennani at gmail.com>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121977

Files:
  lldb/packages/Python/lldbsuite/test/lldbutil.py
  lldb/test/API/functionalities/progress_reporting/TestProgressReporting.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121977.416395.patch
Type: text/x-patch
Size: 4978 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220318/ca148dd7/attachment-0001.bin>


More information about the lldb-commits mailing list