Skip to content

[test] Fix load-invalid-arch.swift to use the "major" architecture #17342

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
Jun 20, 2018

Conversation

jrose-apple
Copy link
Contributor

@jrose-apple jrose-apple commented Jun 19, 2018

armv7, armv7s, and armv7k all get encoded as "arm" in today's scheme for swiftmodules, so we can't just use the CPU part of the triple as the expected swiftmodule architecture in the diagnostic.

rdar://problem/41262878

armv7, armv7s, and armv7k all get encoded as "arm" in today's scheme
for swiftmodules, so we can't just use the CPU part of the triple as
the expected swiftmodule architecture in the diagnostic.
@jrose-apple
Copy link
Contributor Author

@swift-ci Please test

@jrose-apple
Copy link
Contributor Author

jrose-apple commented Jun 19, 2018

@tapthaker: Whoops, I forgot about this, and our pre-commit testing doesn't try to run tests for anything but macOS and a few simulators. This look good to you?

@jrose-apple
Copy link
Contributor Author

Merging to unblock some Apple-internal bots.

@jrose-apple jrose-apple merged commit b5abea3 into swiftlang:master Jun 20, 2018
@jrose-apple jrose-apple deleted the major-test-changes branch June 20, 2018 02:23
@tapthaker
Copy link
Contributor

@jrose-apple : Makes sense, thank you for fixing it.

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