Skip to content

[test][gardening] Prefer os(macOS) over os(OSX) #15141

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
Mar 11, 2018

Conversation

ikesyo
Copy link
Member

@ikesyo ikesyo commented Mar 10, 2018

Refs: #15106, #15087, #13315

@ikesyo
Copy link
Member Author

ikesyo commented Mar 10, 2018

@swift-ci smoke test

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -27,7 +27,7 @@ var i = Foo()
#endif
var j = i

#if os(OSX)
#if os(macOS)
Copy link
Contributor

Choose a reason for hiding this comment

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

Be careful changing the ConditionalCompilation tests. I would like this one preserved and a macOS test added here.

Copy link
Member Author

@ikesyo ikesyo Mar 11, 2018

Choose a reason for hiding this comment

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

Be careful changing the ConditionalCompilation tests.

Good point! I think the both OSX and macOS conditions are specifically tested in https://github.com/apple/swift/blob/c26f40b45b3d21fb5844c71549ee23baa4f7b855/test/Parse/ConditionalCompilation/x64OSXTarget.swift#L4-L15 (https://github.com/apple/swift/pull/3395/files#diff-ddecd035914171df461e408178c90007),

but preserving the OSX test and adding a macOS test to this file would be good anyway.

@ikesyo ikesyo force-pushed the if-os-macos-in-test branch from 152d0cf to b68be20 Compare March 11, 2018 01:59
@ikesyo
Copy link
Member Author

ikesyo commented Mar 11, 2018

@swift-ci Please smoke test and merge

@ikesyo
Copy link
Member Author

ikesyo commented Mar 11, 2018

@swift-ci smoke test and merge

@swift-ci swift-ci merged commit 12b0987 into swiftlang:master Mar 11, 2018
@ikesyo ikesyo deleted the if-os-macos-in-test branch March 11, 2018 02:56
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.

4 participants