Skip to content

Conversation

tshortli
Copy link
Contributor

Adjust some tests so that they don't fail on the back deployment runtime testing bots.

Resolves rdar://159025986&159025990&159025996&159026084.

It is not an executable test.

Resolves rdar://159025990.
…ployment.

Every other test in this directory has `UNSUPPORTED: back_deployment_runtime`
but this one did not, for some reason.

Resolves rdar://159025986.
…orted for back deployment.

It requires a deployment target that is too new for back deployment runtime testing.

Resolves rdar://159026084.
@tshortli
Copy link
Contributor Author

@swift-ci please smoke test

@tshortli tshortli enabled auto-merge August 26, 2025 22:45
// RUN: -enable-experimental-move-only

// REQUIRES: concurrency
// REQUIRES: executable_test
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

if #available(SwiftStdlib 5.1, *) {
testLeadingDotSyntax(v: -42)
} else {
print("buildBlock: -42") // Fallback for the back deployment bots
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a neat trick.

@tshortli tshortli merged commit 2b6cf08 into swiftlang:main Aug 27, 2025
3 checks passed
@tshortli tshortli deleted the back-deployment-test-fixes branch August 27, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants