Skip to content

Make computeXCTestMinimumDeploymentTarget() more robust #2730

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

neonichu
Copy link
Contributor

@neonichu neonichu commented May 5, 2020

Cherry-pick #2729 to the 5.3 branch.

This could assert with empty stdout from `xcrun` or if the output of
`xcrun` was not an absolute path. We should be robust against these
cases and return the fallback.

rdar://problem/62898201

(cherry picked from commit 8ee8bf2)
@neonichu neonichu requested a review from rballard May 5, 2020 23:21
@neonichu
Copy link
Contributor Author

neonichu commented May 5, 2020

@swift-ci please test

Copy link
Contributor

@rballard rballard left a comment

Choose a reason for hiding this comment

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

Approved pending CI completion.

@neonichu neonichu merged commit bced70d into swiftlang:release/5.3 May 6, 2020
@neonichu neonichu deleted the computeXCTestMinimumDeploymentTarget-robustness branch May 6, 2020 01:05
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