Skip to content

Exclude/fix certain tests for swift-evolve #21276

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

beccadax
Copy link
Contributor

This pull request adds a swift_evolve feature to our lit configuration and marks several tests as unsupported with it.

swift-evolve is a tool currently in development which automatically modifies source code in ways that should be source- and ABI-compatible; we will be using it to test resilience. Currently it simply shuffles declarations. The tests I'm marking as unsupported in this pull request either intentionally depend on the order of declarations, or expose bugs in our tools that we've filed but haven't fixed.

This PR also fixes one more order-dependent test in SourceKit.

Part of rdar://problem/44426013.

This change adds a swift_evolve feature to our lit configuration and uses it to mark several tests as unsupported by swift_evolve.

One of these—test/api-digester/stability-stdlib-abi.swift—is actually pretty bad; we would really like to have it. But the digester has known issues exposed by swift-evolve.
@beccadax
Copy link
Contributor Author

Tagging @nkcsgexi because he wrote a few of these tests and @jrose-apple because he suggested using a lit feature.

@beccadax
Copy link
Contributor Author

@swift-ci please smoke test

* Distinguish between tests which are intentionally unsupported and temporarily disabled.
* Add an explanation for one unsupproted test.
* Code nitpick.
@beccadax
Copy link
Contributor Author

@swift-ci please smoke test

@beccadax beccadax merged commit 7a3ed15 into swiftlang:master Dec 13, 2018
@beccadax beccadax deleted the in-theory-theory-and-practice-are-the-same branch December 13, 2018 22:29
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