Skip to content

Commit 2b6cf08

Browse files
authored
Merge pull request #83928 from tshortli/back-deployment-test-fixes
Various back deployment runtime test fixes
2 parents 6c1a2fd + 3919fe1 commit 2b6cf08

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

test/ASTGen/attrs.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
// RUN: -enable-experimental-move-only
3636

3737
// REQUIRES: concurrency
38-
// REQUIRES: executable_test
3938
// REQUIRES: swift_swift_parser
4039
// REQUIRES: swift_feature_ParserASTGen
4140
// REQUIRES: swift_feature_Extern

test/Concurrency/Runtime/reasync.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
// REQUIRES: executable_test
88
// REQUIRES: concurrency
99

10+
// rdar://76038845
11+
// REQUIRES: concurrency_runtime
12+
// UNSUPPORTED: back_deployment_runtime
13+
1014
import StdlibUnittest
1115
import reasync
1216

test/Constraints/result_builder.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1424,11 +1424,16 @@ extension TestLeadingDot where Self == NoopImpl {
14241424
struct NoopImpl : TestLeadingDot {
14251425
}
14261426

1427+
@available(SwiftStdlib 5.1, *)
14271428
func testLeadingDotSyntax(v: Int) {
14281429
let x: some TestLeadingDot = .test {
14291430
v
14301431
}
14311432
}
14321433

1433-
testLeadingDotSyntax(v: -42)
1434+
if #available(SwiftStdlib 5.1, *) {
1435+
testLeadingDotSyntax(v: -42)
1436+
} else {
1437+
print("buildBlock: -42") // Fallback for the back deployment bots
1438+
}
14341439
// CHECK: buildBlock: -42

test/SILOptimizer/propagate_opaque_return_type.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
// REQUIRES: executable_test
44

5+
// UNSUPPORTED: back_deployment_runtime
6+
57
protocol P {}
68
extension P {
79
func foo() -> some Sequence<Int> {

0 commit comments

Comments
 (0)