llvm-project/lldb/packages/Python/lldbsuite/test
Med Ismail Bennani 9216baf87d [lldb/test] Add events listener helper function to lldbtest
This patch introduces 2 new lldb utility functions:
- lldbutil.start_listening_from: This can be called in the test setup to
  create a listener and set it up for a specific event mask and add it
  to the user-provided broadcaster's list.
- lldbutil.fetch_next_event: This will use fetch a single event from the
  provided istener and return it if it matches the provided broadcaster.

The motivation behind this is to easily test new kinds of events
(i.e. Swift type-system progress events). However, this patch also
updates `TestProgressReporting.py` and `TestDiagnosticReporting.py`
to make use of these new helper functions.

Differential Revision: https://reviews.llvm.org/D122193

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
2022-03-23 12:30:09 -07:00
..
builders [lldb] Fix TypeError: argument of type 'NoneType' is not iterable 2021-11-30 12:41:45 -08:00
make Revert "Add -fmodules-local-submodule-visibility to MANDATORY_MODULE_BUILD_CFLAGS" 2022-02-10 15:37:11 -08:00
test_runner [lldb] NFC: Fix trivial typo in comments, documents, and messages 2020-04-07 01:06:16 +09:00
tools [lldb] Fix race condition between lldb-vscode and stop hooks executor 2022-02-22 12:53:55 +01:00
README-TestSuite [lldb] Reduce code duplication around inferior building 2021-10-19 12:09:41 +02:00
__init__.py
bench.py
concurrent_base.py
configuration.py [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
decorators.py [lldb] Introduce a FreeBSDKernel plugin for vmcores 2021-12-14 22:07:20 +01:00
dotest.py Revert "[lldb/test] Make category-skipping logic "platform"-independent" 2022-03-15 16:23:43 +01:00
dotest_args.py [lldb] Remove support for replaying the test suite from a reproducer 2021-09-30 10:47:19 -07:00
gdbclientutils.py [lldb] Introduce PlatformQemuUser 2021-11-30 14:16:08 +01:00
lldb_pylint_helper.py
lldbbench.py
lldbdwarf.py [lldb][NFC] Delete unused and commented out DWARF constants 2021-07-26 12:26:35 -07:00
lldbgdbclient.py [lldb/platform-gdb] Clear cached protocol state upon disconnection 2022-01-10 16:27:30 +01:00
lldbinline.py [lldb/test] Allow indentation in inline tests 2021-10-28 14:39:02 +02:00
lldbpexpect.py [lldb/test] Increase pexpect termination timeouts 2022-03-22 15:14:21 +01:00
lldbplatform.py [lldb] Add Apple simulator platforms to lldbplatform.py 2020-11-05 15:34:42 +01:00
lldbplatformutil.py Revert "[lldb/test] Make category-skipping logic "platform"-independent" 2022-03-15 16:23:43 +01:00
lldbtest.py [lldb] Add SBType::IsAggregateType 2022-03-09 08:33:08 -08:00
lldbtest_config.py
lldbutil.py [lldb/test] Add events listener helper function to lldbtest 2022-03-23 12:30:09 -07:00
test_categories.py Remove the DarwinLog functionality from debguserver 2021-07-20 00:36:56 -07:00
test_result.py [lldb] [test] Rename '.categories' to 'categories' 2020-11-10 12:02:38 +01:00