[Lldb-commits] [lldb] 5edfc0b - [lldb] Fix macOS Ventura version number checks

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 12 13:29:51 PDT 2022


Author: Jonas Devlieghere
Date: 2022-07-12T13:29:46-07:00
New Revision: 5edfc0b928b9ac4c653188828c5637de70bcf8ff

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

LOG: [lldb] Fix macOS Ventura version number checks

Unlike Python 2 which reports 10.16 on any recent macOS, Python 3
correctly reports Ventura as macOS 13.

Added: 
    

Modified: 
    lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py
    lldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py b/lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py
index ec0e9182b182a..f5c03e849c031 100644
--- a/lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py
+++ b/lldb/test/API/lang/objcxx/cxx-bridged-po/TestObjCXXBridgedPO.py
@@ -5,7 +5,7 @@
 
 class TestObjCXXBridgedPO(TestBase):
 
-    @expectedFailureAll(macos_version=[">=", "10.16"]) # rdar://96224141
+    @expectedFailureAll(macos_version=[">=", "13.0"]) # rdar://96224141
     def test_bridged_type_po(self):
         self.build()
         lldbutil.run_to_source_breakpoint(

diff  --git a/lldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py b/lldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py
index 13c14024a15df..e069ae42ea9f4 100644
--- a/lldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py
+++ b/lldb/test/API/tools/lldb-vscode/breakpoint-events/TestVSCode_breakpointEvents.py
@@ -16,7 +16,7 @@ class TestVSCode_breakpointEvents(lldbvscode_testcase.VSCodeTestCaseBase):
 
     @skipIfWindows
     @skipUnlessDarwin
-    @expectedFailureAll(macos_version=[">=", "10.16"])
+    @expectedFailureAll(macos_version=[">=", "13.0"])
     def test_breakpoint_events(self):
         '''
             This test sets a breakpoint in a shared library and runs and stops


        


More information about the lldb-commits mailing list