[Lldb-commits] [lldb] [lldb][progress] Add discrete boolean flag to progress reports (PR #69516)

Chelsea Cassanova via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 18 14:10:15 PDT 2023


================
@@ -25,8 +25,8 @@ def test_dwarf_symbol_loading_progress_report(self):
         event = lldbutil.fetch_next_event(self, self.listener, self.broadcaster)
         ret_args = lldb.SBDebugger.GetProgressFromEvent(event)
         self.assertGreater(len(ret_args), 0)
-        message = ret_args[0]
-        self.assertGreater(len(message), 0)
+        title = ret_args[0]
----------------
chelcassanova wrote:

In older versions of `Progress` the message that got displayed to the user was called `message` but it was changed to `title` when progress reports got updated to have `details` as a field, so I changed the name in the test to match.

https://github.com/llvm/llvm-project/pull/69516


More information about the lldb-commits mailing list