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

via lldb-commits lldb-commits at lists.llvm.org
Wed May 15 07:31:11 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Dmitry Vasilyev (slydiman)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/92268.diff


1 Files Affected:

- (modified) lldb/test/API/tools/lldb-server/TestGdbRemoteCompletion.py (+1) 


``````````diff
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()

``````````

</details>


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


More information about the lldb-commits mailing list