Skip to content

Commit 9103340

Browse files
authored
Merge pull request #3675 from augusto2112/sidestep-wrong-triple-gen
[lldb] Bump macOS versions to 11 on the TestPlaygrounds test
2 parents 7c3779f + 97da26f commit 9103340

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/test/API/lang/swift/playgrounds/Contents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ let b = 5
1717

1818
a + b
1919

20-
@available(macOS 10.11, iOS 8.0, tvOS 8.0, watchOS 6.0, *) func newAPI() -> Int {
20+
@available(macOS 11.1, iOS 8.0, tvOS 8.0, watchOS 6.0, *) func newAPI() -> Int {
2121
return 11
2222
}
2323

lldb/test/API/lang/swift/playgrounds/TestPlaygrounds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def get_build_triple(self):
5353
version = '7.0'
5454
triple = '{}-{}-{}{}'.format(arch, vendor, os, version)
5555
else:
56-
triple = '{}-apple-macosx10.10'.format(platform.machine())
56+
triple = '{}-apple-macosx11.0'.format(platform.machine())
5757
return triple
5858

5959
def get_run_triple(self):

0 commit comments

Comments
 (0)