-
Notifications
You must be signed in to change notification settings - Fork 10.5k
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
Fix irgen test case that was disabled for a while #6894
Conversation
@swift-ci Please smoke test and merge |
236ded9
to
c8c0fcb
Compare
@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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
c8c0fcb
to
1461827
Compare
@swift-ci Please smoke test os x platform |
@swift-ci Please smoke test linux platform |
We now pass whether something is an existential meta type to
swift_getDynamicType.
SR3591