[Lldb-commits] [lldb] [lldb-dap] Refactoring lldb-dap port listening mode to allow multiple connections. (PR #116392)

via lldb-commits lldb-commits at lists.llvm.org
Tue Nov 26 14:05:15 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r c71418574f1bb9e4678428901775c8b633cded09...35035cd4b8bfdbe2a0d196be7b4aa74a144f160c lldb/test/API/tools/lldb-dap/server/TestDAP_server.py lldb/packages/Python/lldbsuite/test/tools/lldb-dap/dap_server.py lldb/packages/Python/lldbsuite/test/tools/lldb-dap/lldbdap_testcase.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- test/API/tools/lldb-dap/server/TestDAP_server.py	2024-11-26 22:01:42.000000 +0000
+++ test/API/tools/lldb-dap/server/TestDAP_server.py	2024-11-26 22:04:43.964689 +0000
@@ -62,9 +62,11 @@
         """
         Test launching a binary with a lldb-dap in server mode on a unix socket.
         """
         dir = tempfile.gettempdir()
         name = dir + "/dap-connection-" + str(os.getpid())
+
         def cleanup():
             os.unlink(name)
+
         self.addTearDownHook(cleanup)
         self.do_test_server(connection="unix://" + name)

``````````

</details>


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


More information about the lldb-commits mailing list