[Lldb-commits] [lldb] 8c13b75 - [LLDB] Fix condition in test

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Mon Oct 27 12:43:29 PDT 2025


Author: Adrian Prantl
Date: 2025-10-27T12:43:19-07:00
New Revision: 8c13b75b614fe97c633af1fa72a328b5a1a05044

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

LOG: [LLDB] Fix condition in test

Added: 
    

Modified: 
    lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py b/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py
index 3b414ddb78b91..9050f6a653d50 100644
--- a/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py
+++ b/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py
@@ -21,7 +21,7 @@ def rosetta_debugserver_installed():
     import platform
     version = platform.mac_ver()
     # Workaround for an undiagnosed problem on green dragon.
-    if version[0] and version[0][0] == '15' and version[0][1] == '5':
+    if version[0] == '15.5':
         return False
     return exists("/Library/Apple/usr/libexec/oah/debugserver")
 


        


More information about the lldb-commits mailing list