Skip to content

Conversation

@stephentyrone
Copy link
Contributor

@stephentyrone stephentyrone commented Jul 15, 2019

Replace all 9999 availability in non-stdlib tests with the appropriate platform availability.

#26109 cherry-picked for 5.1 branch.

Explanation: We still have 9999 availability sprinkled throughout the tests and standard library. This change replaces all the non-stdlib test availability with the appropriate macOS, iOS, tvOS and watchOS versions. It's important to get these changes landed before people start adding features synced with future Swift versions to avoid ambiguity.

Scope: Availability annotations only, only in tests.

Risk: Low. In some cases, it's possible that tests that previously ran or did not run could be enabled or disabled due to availability changes, but we already landed this on master and have let is shake out for a couple days.

Testing: Full integration testing.

Reviewer: @jckarter

Radar: rdar://problem/53163936

Replace all 9999 availability in non-stdlib tests with the appropriate platform availability.
@stephentyrone
Copy link
Contributor Author

@swift-ci please test

@stephentyrone
Copy link
Contributor Author

stephentyrone commented Jul 15, 2019

(Paradoxically, it's less important to get this on 5.1 than it is on master, since nothing with availability > 5.1-aligned SDK versions should ever land on this branch, so there's no need to disambiguate. Still, good to do this, if only because it makes cherry-picking other changes across easier.)

@stephentyrone
Copy link
Contributor Author

@swift-ci nominate

…c_replacement_opaque_result

Fix test/Interpreter/dynamic_replacement_opaque_result.swift
@stephentyrone
Copy link
Contributor Author

@swift-ci test

@swift-ci
Copy link
Contributor

Build failed
Swift Test Linux Platform
Git Sha - 9da27c2

@swift-ci
Copy link
Contributor

Build failed
Swift Test OS X Platform
Git Sha - 9da27c2

@stephentyrone
Copy link
Contributor Author

"Unresolved" lang/swift/address_of/TestSwiftAddressOf.py test on linux. Re-running to see if it persists.

@stephentyrone
Copy link
Contributor Author

@swift-ci please test linux.

@stephentyrone stephentyrone merged commit c2188ff into swiftlang:swift-5.1-branch Jul 16, 2019
@stephentyrone stephentyrone deleted the swift-5.1-availability branch July 16, 2019 23:22
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.

3 participants