Skip to content

[test] Make swiftpm test robust against host triple differences #87

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
Mar 1, 2019

Conversation

benlangmuir
Copy link
Contributor

Hardcoding the triples was silly; the only interesting platform
difference is about which parts have a version number on macOS and which
do not.

Hardcoding the triples was silly; the only interesting platform
difference is about which parts have a version number on macOS and which
do not.
@benlangmuir benlangmuir merged commit 6a634a0 into swiftlang:master Mar 1, 2019
@benlangmuir benlangmuir deleted the power branch March 1, 2019 18:11
@@ -111,11 +112,11 @@ final class SwiftPMWorkspaceTests: XCTestCase {

check("-target", arguments: arguments) // Only one!
#if os(macOS)
check("-target", "x86_64-apple-macosx10.10", arguments: arguments)
check("-target", Triple.hostTriple.tripleString(forPlatformVersion: "10.10"), arguments: arguments)
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if due to this issue: https://twitter.com/jckarter/status/1095757933579689985 we shouldn't stick to minimum 10.11 on macOS?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If this ever breaks we can change it, but this test won't try to generate code, so I think it's probably fine.

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