[Lldb-commits] [lldb] [lldb-dap] Test gardening, enabling tests and improving doc comments. (PR #140777)
Ebuka Ezike via lldb-commits
lldb-commits at lists.llvm.org
Tue May 20 15:13:25 PDT 2025
================
@@ -1,26 +1,23 @@
"""
-Test lldb-dap setBreakpoints request
+Test lldb-dap console output
"""
-import dap_server
import lldbdap_testcase
-from lldbsuite.test import lldbutil
from lldbsuite.test.decorators import *
from lldbsuite.test.lldbtest import *
-def get_subprocess(root_process, process_name):
- queue = [root_process]
- while queue:
- process = queue.pop()
- if process.name() == process_name:
- return process
- queue.extend(process.children())
-
- self.assertTrue(False, "No subprocess with name %s found" % process_name)
+class TestDAP_console(lldbdap_testcase.DAPTestCaseBase):
+ def get_subprocess(self, root_process, process_name):
----------------
da-viper wrote:
could use`@staticmethod ` decorator if we are moving it into the class
https://github.com/llvm/llvm-project/pull/140777
More information about the lldb-commits
mailing list