From c958ed32540c56f596c0fd94b1d2955b9c2f26f6 Mon Sep 17 00:00:00 2001 From: Allan Shortlidge Date: Tue, 26 Aug 2025 14:37:42 -0700 Subject: [PATCH 1/4] Tests: Remove REQUIRES: executable_test from ASTGen/attrs.swift. It is not an executable test. Resolves rdar://159025990. --- test/ASTGen/attrs.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/test/ASTGen/attrs.swift b/test/ASTGen/attrs.swift index 14d7773930fd4..ea0dec479fc7d 100644 --- a/test/ASTGen/attrs.swift +++ b/test/ASTGen/attrs.swift @@ -35,7 +35,6 @@ // RUN: -enable-experimental-move-only // REQUIRES: concurrency -// REQUIRES: executable_test // REQUIRES: swift_swift_parser // REQUIRES: swift_feature_ParserASTGen // REQUIRES: swift_feature_Extern From 6918a63efb8a5f5629c6295c96b8c8c4241ddcee Mon Sep 17 00:00:00 2001 From: Allan Shortlidge Date: Tue, 26 Aug 2025 15:16:56 -0700 Subject: [PATCH 2/4] Tests: Mark Concurrency/Runtime/reasync.swift unsupported for back deployment. Every other test in this directory has `UNSUPPORTED: back_deployment_runtime` but this one did not, for some reason. Resolves rdar://159025986. --- test/Concurrency/Runtime/reasync.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/Concurrency/Runtime/reasync.swift b/test/Concurrency/Runtime/reasync.swift index b6fea71ea21b5..d457fce61a578 100644 --- a/test/Concurrency/Runtime/reasync.swift +++ b/test/Concurrency/Runtime/reasync.swift @@ -7,6 +7,10 @@ // REQUIRES: executable_test // REQUIRES: concurrency +// rdar://76038845 +// REQUIRES: concurrency_runtime +// UNSUPPORTED: back_deployment_runtime + import StdlibUnittest import reasync From 83a6c1a618085deb28f23b1f99c4fe7987eee0a7 Mon Sep 17 00:00:00 2001 From: Allan Shortlidge Date: Tue, 26 Aug 2025 15:27:56 -0700 Subject: [PATCH 3/4] Tests: Make Constraints/result_builder.swift compatible with back deployment. Resolves rdar://159025996. --- test/Constraints/result_builder.swift | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/Constraints/result_builder.swift b/test/Constraints/result_builder.swift index b7a63a80a29b5..3a7a7c2e4339f 100644 --- a/test/Constraints/result_builder.swift +++ b/test/Constraints/result_builder.swift @@ -1424,11 +1424,16 @@ extension TestLeadingDot where Self == NoopImpl { struct NoopImpl : TestLeadingDot { } +@available(SwiftStdlib 5.1, *) func testLeadingDotSyntax(v: Int) { let x: some TestLeadingDot = .test { v } } -testLeadingDotSyntax(v: -42) +if #available(SwiftStdlib 5.1, *) { + testLeadingDotSyntax(v: -42) +} else { + print("buildBlock: -42") // Fallback for the back deployment bots +} // CHECK: buildBlock: -42 From 3919fe1459fca53883ac2330de0d585dcbdac249 Mon Sep 17 00:00:00 2001 From: Allan Shortlidge Date: Tue, 26 Aug 2025 15:42:52 -0700 Subject: [PATCH 4/4] Tests: Mark SILOptimizer/propagate_opaque_return_type.swift as unsupported for back deployment. It requires a deployment target that is too new for back deployment runtime testing. Resolves rdar://159026084. --- test/SILOptimizer/propagate_opaque_return_type.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/SILOptimizer/propagate_opaque_return_type.swift b/test/SILOptimizer/propagate_opaque_return_type.swift index eac6119c86107..d152b27bb1595 100644 --- a/test/SILOptimizer/propagate_opaque_return_type.swift +++ b/test/SILOptimizer/propagate_opaque_return_type.swift @@ -2,6 +2,8 @@ // REQUIRES: executable_test +// UNSUPPORTED: back_deployment_runtime + protocol P {} extension P { func foo() -> some Sequence {