[Lldb-commits] [lldb] 45927d7 - [lldb] Skip delay-init test when run on pre-macOS 15

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Wed Jun 12 15:58:26 PDT 2024


Author: Jason Molenda
Date: 2024-06-12T15:58:03-07:00
New Revision: 45927d730bcd2aa3380834ca8db96e32a8b2f2b1

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

LOG: [lldb] Skip delay-init test when run on pre-macOS 15

The test has a check that the static linker supports the new option,
but it assumed the Xcode 16 linker also meant it was running on
macOS 15 and the dynamic linker would honor dependencies flagged
this way.  But Xcode 16 can be run on macOS 14.5, so we need to
skip the test in that combination.

Added: 
    

Modified: 
    lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py b/lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py
index 44ed2b1d21f18..090a3554a9207 100644
--- a/lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py
+++ b/lldb/test/API/macosx/delay-init-dependency/TestDelayInitDependency.py
@@ -11,6 +11,7 @@ class TestDelayInitDependencies(TestBase):
     NO_DEBUG_INFO_TESTCASE = True
 
     @skipUnlessDarwin
+    @skipIf(macos_version=["<", "15.0"])
     def test_delay_init_dependency(self):
         TestBase.setUp(self)
         out = subprocess.run(


        


More information about the lldb-commits mailing list