[Lldb-commits] [lldb] Minor fix to connect-url to support unix-connect sockets on localhost (PR #142875)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 4 16:38:04 PDT 2025
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 HEAD~1...HEAD lldb/test/API/commands/platform/connect/TestPlatformConnect.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- TestPlatformConnect.py 2025-06-04 23:24:30.000000 +0000
+++ TestPlatformConnect.py 2025-06-04 23:37:31.288541 +0000
@@ -56,11 +56,10 @@
frame = self.frame()
self.assertEqual(frame.GetFunction().GetName(), "main")
self.assertEqual(frame.FindVariable("argc").GetValueAsSigned(), 2)
process.Continue()
-
@skipIfRemote
@expectedFailureAll(hostoslist=["windows"], triple=".*-android")
@skipIfDarwin # lldb-server not found correctly
@expectedFailureAll(oslist=["windows"]) # process modules not loaded
# lldb-server platform times out waiting for the gdbserver port number to be
@@ -72,10 +71,11 @@
)
@add_test_categories(["lldb-server"])
def test_platform_process_connect_with_unix_connect(self):
self.build()
import time
+
timestamp = int(time.time())
listen_url = "/tmp/listen_url_%s" % timestamp
port_file = "/tmp/port_file_%s" % timestamp
commandline_args = [
"platform",
``````````
</details>
https://github.com/llvm/llvm-project/pull/142875
More information about the lldb-commits
mailing list