[Lldb-commits] [lldb] da7ae36 - [lldb][minidump][test] Disable test_size_of_image... when remote testing (#231498)

via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 13 06:48:50 PDT 2026


Author: David Spickett
Date: 2026-10-13T13:48:44Z
New Revision: da7ae36e08046b2230a404e3278eb08b7ede771e

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

LOG: [lldb][minidump][test] Disable test_size_of_image... when remote testing (#231498)

The test assumes that the program can load the shared library, which it
cannot unless we copy it to the remote.

The shared library is also built outside of the usual build process, so
it's using the host compiler and possibly other host things.

Added: 
    

Modified: 
    lldb/test/API/functionalities/process_save_core_minidump_size_of_image/TestMinidumpSizeOfImage.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/functionalities/process_save_core_minidump_size_of_image/TestMinidumpSizeOfImage.py b/lldb/test/API/functionalities/process_save_core_minidump_size_of_image/TestMinidumpSizeOfImage.py
index 064e257d84492..d3074bef21633 100644
--- a/lldb/test/API/functionalities/process_save_core_minidump_size_of_image/TestMinidumpSizeOfImage.py
+++ b/lldb/test/API/functionalities/process_save_core_minidump_size_of_image/TestMinidumpSizeOfImage.py
@@ -120,6 +120,8 @@ def get_expected_size(self, target, module):
 
     @skipIf(archs=no_match(["x86_64", "aarch64"]))
     @skipUnlessPlatform(["linux"])
+    # Building the shared library assumes we will run on the host.
+    @skipIfRemote
     def test_size_of_image_with_contiguous_segments(self):
         """Test SizeOfImage is correct for a module with contiguous segments."""
         self.build()


        


More information about the lldb-commits mailing list