Skip to content

Commit a299a0b

Browse files
adrian-prantlLukacma
authored andcommitted
[LLDB] Disable rosetta test on green dragon
1 parent 781b14e commit a299a0b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ def apple_silicon():
1818

1919

2020
def rosetta_debugserver_installed():
21+
import platform
22+
version = platform.mac_ver()
23+
# Workaround for an undiagnosed problem on green dragon.
24+
if version[0] and version[0][0] == '15' and version[0][1] == '5':
25+
return False
2126
return exists("/Library/Apple/usr/libexec/oah/debugserver")
2227

2328

0 commit comments

Comments
 (0)