Skip to content

Foundation: add ProcessInfo SPI for tests #2141

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
merged 1 commit into from
Apr 22, 2019
Merged

Conversation

compnerd
Copy link
Member

Add the _processPath computed property on ProcessInfo to allow the
tests to access _CFProcessPath. This removes the last CoreFoundation
API usage in the test suite, allowing it to build on Windows which does
not provide the CoreFoundation APIs to users.

@compnerd
Copy link
Member Author

@swift-ci please test

Copy link
Contributor

@colemancda colemancda left a comment

Choose a reason for hiding this comment

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

Why public and not internal if it's intended for unit tests and not public API usage?

@compnerd
Copy link
Member Author

@swift-ci please test

Add the `_processPath` computed property on `ProcessInfo` to allow the
tests to access `_CFProcessPath`.  This removes the last CoreFoundation
API usage in the test suite, allowing it to build on Windows which does
not provide the CoreFoundation APIs to users.
@compnerd
Copy link
Member Author

@millenomi - okay to merge?

@millenomi millenomi merged commit 5321f69 into swiftlang:master Apr 22, 2019
@compnerd compnerd deleted the shiny branch April 22, 2019 17:14
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