llvm-project/lldb/packages/Python/lldbsuite/test
Jonas Devlieghere 0f821339da
[lldb] Add assertStopReason helper function
Add a function to make it easier to debug a test failure caused by an
unexpected stop reason. This is similar to the assertState helper that
was added in ce825e4674.

Before:

  self.assertEqual(stop_reason, lldb.eStopReasonInstrumentation)
  AssertionError: 5 != 10

After:

  self.assertStopReason(stop_reason, lldb.eStopReasonInstrumentation)
  AssertionError: signal (5) != instrumentation (10)

Differential revision: https://reviews.llvm.org/D131083
2022-08-03 11:44:13 -07:00
..
builders [lldb] Use the just-built libc++ for testing the LLDB data formatters 2022-07-11 14:49:24 -07:00
make [libc++] Re-apply the use of ABI tags to provide per-TU insulation 2022-07-08 08:38:36 -04:00
test_runner
tools [NFC][intel pt] Improve troubleshooting message 2022-08-03 11:34:03 -07:00
README-TestSuite [lldb][tests] Automatically call compute_mydir (NFC) 2022-06-17 14:34:49 -07:00
__init__.py
bench.py
concurrent_base.py
configuration.py [lldb] Use the just-built libc++ for testing the LLDB data formatters 2022-07-11 14:49:24 -07:00
decorators.py [lldb] Read from the Rosetta shared cache with Xcode 14 2022-07-27 15:26:46 -07:00
dotest.py [lldb] Use the just-built libc++ for testing the LLDB data formatters 2022-07-11 14:49:24 -07:00
dotest_args.py [lldb] Use the just-built libc++ for testing the LLDB data formatters 2022-07-11 14:49:24 -07:00
gdbclientutils.py [lldb] Avoid duplicate vdso modules when opening core files 2022-04-05 11:22:37 +02: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] Fix PExpect.launch issue when disabling color support 2022-05-19 14:47:04 -07:00
lldbplatform.py [lldb] Add Apple simulator platforms to lldbplatform.py 2020-11-05 15:34:42 +01:00
lldbplatformutil.py Recommit "[lldb/test] Don't use preexec_fn for launching inferiors" 2022-07-07 14:38:33 +02:00
lldbtest.py [lldb] Add assertStopReason helper function 2022-08-03 11:44:13 -07:00
lldbtest_config.py
lldbutil.py [lldb] Add assertStopReason helper function 2022-08-03 11:44:13 -07:00
test_categories.py [lldb] [test] Disable gmodules testing on FreeBSD 2022-06-20 19:42:21 +02:00
test_result.py [lldb] [test] Rename '.categories' to 'categories' 2020-11-10 12:02:38 +01:00