[Lldb-commits] [lldb] facb767 - [lldb] Fixed the TestGdbRemoteLibrariesSvr4Support test running on a remote target (#93825)

via lldb-commits lldb-commits at lists.llvm.org
Thu May 30 08:56:08 PDT 2024


Author: Dmitry Vasilyev
Date: 2024-05-30T19:56:04+04:00
New Revision: facb767e5b78a024d70585b24254c769473b6b54

URL: https://github.com/llvm/llvm-project/commit/facb767e5b78a024d70585b24254c769473b6b54
DIFF: https://github.com/llvm/llvm-project/commit/facb767e5b78a024d70585b24254c769473b6b54.diff

LOG: [lldb] Fixed the TestGdbRemoteLibrariesSvr4Support test running on a remote target (#93825)

The TestGdbRemoteLibrariesSvr4Support test failed in case of Linux
x86_64 host and Linux Aarch64 target. Installing libraries to the remote
target is not enough. This test actively uses self.getBuildDir() and
os.path.realpath() which does not work in case of the remote target. So,
disable this test for remote target now.

Added: 
    

Modified: 
    lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py b/lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py
index 02c9d318525fb..76173a095da93 100644
--- a/lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py
+++ b/lldb/test/API/tools/lldb-server/libraries-svr4/TestGdbRemoteLibrariesSvr4Support.py
@@ -6,6 +6,7 @@
 
 # Windows does not allow quotes in file names.
 @skipIf(hostoslist=["windows"])
+ at skipIfRemote
 class TestGdbRemoteLibrariesSvr4Support(gdbremote_testcase.GdbRemoteTestCaseBase):
     FEATURE_NAME = "qXfer:libraries-svr4:read"
 


        


More information about the lldb-commits mailing list