Skip to content

[test] Tweak class_getImageName to correctly handle 2018 OS betas #18089

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
Jul 19, 2018

Conversation

jrose-apple
Copy link
Contributor

I messed up the condition here—targetEnvironment(device) is ignored and should be written !targetEnvironment(simulator)—but even besides that I didn't actually have the right conditions for which iOS devices this passes on and which it doesn't. Rather than trying to perfectly match this with an XFAIL, just skip the parts of the test that depend on having a new enough 2018 OS build if we, well, don't have it.

rdar://problem/42398849

I messed up the condition here---'targetEnvironment(device)' is
ignored and should be written '!targetEnvironment(simulator)'---but
even besides that I didn't actually have the right conditions for
which iOS devices this passes on and which it doesn't. Rather than
trying to perfectly match this with an XFAIL, just skip the parts of
the test that depend on having a new enough 2018 OS build if we, well,
don't have it.

rdar://problem/42398849
@jrose-apple
Copy link
Contributor Author

@swift-ci Please smoke test and merge

@swift-ci swift-ci merged commit cdc7fb4 into swiftlang:master Jul 19, 2018
@jrose-apple jrose-apple deleted the unfamiliar-environment branch July 19, 2018 23:26
jrose-apple pushed a commit to jrose-apple/swift that referenced this pull request Jul 19, 2018
jrose-apple added a commit that referenced this pull request Jul 20, 2018
…8091)

Merge pull request #18089 from jrose-apple/unfamiliar-environment
(cherry picked from commit cdc7fb4)

rdar://problem/42398849
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