[Lldb-commits] [lldb] [lldb] Fixed the TestGdbRemoteCompletion test (PR #92268)

Dmitry Vasilyev via lldb-commits lldb-commits at lists.llvm.org
Wed May 15 07:30:37 PDT 2024


https://github.com/slydiman created https://github.com/llvm/llvm-project/pull/92268

Do not try to run lldb-server on localhost in case of the remote target.

>From 1b200d1844d0241459fdc11064dc6b61a963e62f Mon Sep 17 00:00:00 2001
From: Dmitry Vasilyev <dvassiliev at accesssoftek.com>
Date: Wed, 15 May 2024 18:29:17 +0400
Subject: [PATCH] [lldb] Fixed the TestGdbRemoteCompletion test

Do not try to run lldb-server on localhost in case of the remote target.
---
 lldb/test/API/tools/lldb-server/TestGdbRemoteCompletion.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lldb/test/API/tools/lldb-server/TestGdbRemoteCompletion.py b/lldb/test/API/tools/lldb-server/TestGdbRemoteCompletion.py
index 04d6abe9d88c1..58373d2f85bb9 100644
--- a/lldb/test/API/tools/lldb-server/TestGdbRemoteCompletion.py
+++ b/lldb/test/API/tools/lldb-server/TestGdbRemoteCompletion.py
@@ -26,6 +26,7 @@ def init_lldb_server(self):
     def generate_hex_path(self, target):
         return str(os.path.join(self.getBuildDir(), target)).encode().hex()
 
+    @skipIfRemote
     @add_test_categories(["llgs"])
     def test_autocomplete_path(self):
         self.build()



More information about the lldb-commits mailing list