Skip to content

[SILOptimizer]Refactor ObjC dependencies in sil_combine tests #835

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
Jan 4, 2016
Merged

[SILOptimizer]Refactor ObjC dependencies in sil_combine tests #835

merged 1 commit into from
Jan 4, 2016

Conversation

ezephir
Copy link

@ezephir ezephir commented Dec 31, 2015

This change moves functionality that requires ObjC interop into a new file.
Partially resolves SR-216.

This was tested on OS X 10.10 and Ubuntu 14.04

Questions for this review:

  • sil_combine is still XFAILed on linux because the test case cast_of_class_to_int fails the check on line 2800. Does this need to be moved or should I file a bug?

I'm awaiting feedback on pull request #832 on issues that apply here. I'll update this PR (if necessary) based on that feedback.

Move functionality that requires ObjC interop into a new file and remove the
XFAIL on Linux. Partially resolves SR-216.
@ezephir
Copy link
Author

ezephir commented Jan 1, 2016

After researching, I've moved cast_of_class_to_int to the ObjC since it's testing Foundation-related behavior.

Therefore:

  • This test passes on Ubuntu 14.04 and OS X 10.10 and no longer XFAILs.
  • The changes have been rebased against master.

This PR is up to date and ready for merging or new feedback.

@gribozavr gribozavr self-assigned this Jan 1, 2016
@nadavrot
Copy link
Contributor

nadavrot commented Jan 4, 2016

The change LGTM. @gribozavr Can we accept this pull request?

@gribozavr
Copy link
Contributor

@nadavrot Thank you for the review! I just wanted to run tests -- they pass on OS X and Linux.

gribozavr added a commit that referenced this pull request Jan 4, 2016
[SILOptimizer]Refactor ObjC dependencies in sil_combine tests
@gribozavr gribozavr merged commit 7d5f329 into swiftlang:master Jan 4, 2016
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