Skip to content

Commit 19e961b

Browse files
committed
[lldb] Fix test when running on macOS 26.0
1 parent 87ed310 commit 19e961b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ def getTriple(os, arch, version):
2222
def getOlderVersion(major, minor):
2323
if minor != 0:
2424
return '%d.%d' % (major, minor-1)
25+
if major == 26:
26+
return '%d.%d' % (major-11, minor)
2527
return '%d.%d' % (major-1, minor)
2628

2729
class TestAvailability(TestBase):

0 commit comments

Comments
 (0)