Skip to content

Fix a bunch of reflection tests to be correct for Ubuntu #69364

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
Oct 24, 2023

Conversation

tbkka
Copy link
Contributor

@tbkka tbkka commented Oct 24, 2023

These tests had Darwin-specific code in them, mostly unnecessary, that caused them to break on non-Darwin platforms. In particular, they break on Ubuntu 22.10 aarch64.

Only one (reflect_Enum_SingleCaseCFPayload.swift) was actually specific to Darwin. That one has been disabled on non-Darwin. For the rest, just delete the unnecessary import Darwin and similar.

These tests had Darwin-specific code in them, mostly unnecessary,
that caused them to break on non-Darwin platforms.

Only one (reflect_Enum_SingleCaseCFPayload.swift) was actually
specific to Darwin.  That one has been disabled.  For the rest,
just delete the unnecessary `import Darwin` and similar.
@tbkka
Copy link
Contributor Author

tbkka commented Oct 24, 2023

@swift-ci Please test

@tbkka tbkka merged commit 7c6dacb into swiftlang:main Oct 24, 2023
@tbkka tbkka deleted the tbkka-reflection-tests-on-Linux branch August 1, 2024 16:38
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.

1 participant