Skip to content

Fix irgen test case that was disabled for a while #6894

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

Conversation

aschwaighofer
Copy link
Contributor

We now pass whether something is an existential meta type to
swift_getDynamicType.

SR3591

@aschwaighofer
Copy link
Contributor Author

@swift-ci Please smoke test and merge

@aschwaighofer aschwaighofer force-pushed the fix_irgen_test_generic_metatypes branch from 236ded9 to c8c0fcb Compare January 18, 2017 21:14
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please smoke test os x


// FIXME: SR-3591 test is failing after being unintentionally disabled for a while
// REQUIRES: SR3591
// REQUIRES: CODEGENERATOR=ARM
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like now the test requires both x86 and arm so it is still effectively disabled. Can you verify that it gets run?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It will (should) get run on build-script -i builds.

The test case contains arm target tests.

I will split out the arm tests.

Copy link
Contributor

@jrose-apple jrose-apple Jan 18, 2017

Choose a reason for hiding this comment

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

CODEGENERATOR=ARM and CODEGENERATOR=X86 aren't mutually exclusive. But splitting up the test is probably still a good idea.

Copy link
Contributor

Choose a reason for hiding this comment

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

I dislike splitting such tests because it makes it easier for one side to lose coverage. But we don't currently have a better solution for tests that touch multiple code generators. (A new conditional RUN command in lit would help, something like RUN REQUIRES CODEGENERATOR=X86: %swift -target x86_64-apple-macosx10.9 ….)

We now pass whether something is an existential meta type to
swift_getDynamicType.

SR3591
@aschwaighofer aschwaighofer force-pushed the fix_irgen_test_generic_metatypes branch from c8c0fcb to 1461827 Compare January 18, 2017 23:38
@aschwaighofer
Copy link
Contributor Author

@swift-ci Please smoke test os x platform

@aschwaighofer
Copy link
Contributor Author

@swift-ci Please smoke test linux platform

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