Skip to content

Commit 7cbb01a

Browse files
authored
Update TestSwiftAvailability.py to use lldbplatformutil.getArchitecture()
1 parent 98742a3 commit 7cbb01a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/test/API/lang/swift/availability/TestSwiftAvailability.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def getOSName(os):
1717
return os
1818

1919
def getArch(os):
20-
if os == 'macosx': return 'x86_64'
20+
if os == 'macosx': return lldbplatformutil.getArchitecture()
2121
if os == 'ios': return 'arm64'
2222
if os == 'tvos': return 'arm64'
2323
if os == 'watchos': return 'armv7k'

0 commit comments

Comments
 (0)