Skip to content

Remove fragile emit-clang-header-nonmodular-includes test #62383

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

Conversation

NuriAmari
Copy link
Contributor

This test was meant to check the -emit-clang-header-nonmodular-includes functionality against headers more complicated than the mock-sdk. It was too fragile and would break when the SDK changed. The test is already complicated, trying to handle SDKs for multiple platforms. Rather than try to modify the test to be resilient to SDK changes, I have removed the test entirely.

The functionality has been extensively tested on real world projects so I'm confident it works. The other tests introduced in 60971, that test against the more stable mock-sdk, should be enough to prevent regression.

The test would break when the SDK changes. The functionality is
already tested against the more stable mock-sdk, so the test is
being removed entirely.
@NuriAmari
Copy link
Contributor Author

@swift-ci please test

@NuriAmari NuriAmari closed this Dec 3, 2022
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