Skip to content

[5.1][test] Add availability guards for tests checking behavioral changes in 5.1 #24497

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

lorentey
Copy link
Member

@lorentey lorentey commented May 4, 2019

Cherry-picked from #24496.

Add runtime 9999-availability guards around tests checking for behavioral changes since 5.0.

This is useful in case these tests are deployed with the 5.0 stdlib.

rdar://problem/50150948

lorentey added 4 commits May 3, 2019 19:31
Array.init(unsafeUninitializedCapacity:…) back-deploys to the 5.0 stdlib, but the implementation there doesn’t catch buffer reassignment.

(cherry picked from commit 211aae1)
@lorentey
Copy link
Member Author

lorentey commented May 4, 2019

@swift-ci please test

@lorentey lorentey merged commit 6f1e632 into swiftlang:swift-5.1-branch May 6, 2019
@lorentey lorentey deleted the stdlib-version-checks-alt-5.1 branch May 6, 2019 17:25
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.

1 participant