[Lldb-commits] [lldb] 43f119b - [LLDB] Disable rosetta test on	green dragon
    Adrian Prantl via lldb-commits 
    lldb-commits at lists.llvm.org
       
    Mon Oct 27 10:33:10 PDT 2025
    
    
  
Author: Adrian Prantl
Date: 2025-10-27T10:32:47-07:00
New Revision: 43f119baa61469c1b193c695ca22008585a0732d
URL: https://github.com/llvm/llvm-project/commit/43f119baa61469c1b193c695ca22008585a0732d
DIFF: https://github.com/llvm/llvm-project/commit/43f119baa61469c1b193c695ca22008585a0732d.diff
LOG: [LLDB] Disable rosetta test on green dragon
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 0f40dfd09c958..3b414ddb78b91 100644
--- a/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py
+++ b/lldb/test/API/macosx/posix_spawn/TestLaunchProcessPosixSpawn.py
@@ -18,6 +18,11 @@ def apple_silicon():
 
 
 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':
+        return False
     return exists("/Library/Apple/usr/libexec/oah/debugserver")
 
 
        
    
    
More information about the lldb-commits
mailing list