Skip to content

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jun 17, 2024

This test requires swiftlang/swift#74080 and should be skipped if the host toolchain does not have that change.

Fixes a test failure when running SourceKit-LSP tests using Xcode 15.4.

…hain does not mark overridable function declarations as dynamic

This test requires swiftlang/swift#74080 and should be skipped if the host toolchain does not have that change.
@ahoppen ahoppen requested review from bnbarham and hamishknight June 17, 2024 16:35
@ahoppen ahoppen requested a review from benlangmuir as a code owner June 17, 2024 16:35
@ahoppen
Copy link
Member Author

ahoppen commented Jun 17, 2024

@swift-ci Please test

}
}

/// Checks if the toolchain contains https://github.com/apple/swift/pull/74080.
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not really sure what to do about this, but the skip test is really the test itself 😅

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I know. The key point here is that it won’t skip the test if the toolchain is ≥6.1 or if we are on Swift CI (SWIFTCI_USE_LOCAL_DEPS is set – https://github.com/apple/sourcekit-lsp/blob/main/Documentation/Environment%20Variables.md#build-time)

Copy link
Contributor

Choose a reason for hiding this comment

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

Well, my point was more that it would skip if the original test would fail, though depends on the failure (ie. if more results are returned then it wouldn't skip, but if the result is missing at all then it will). Anyway, I think it's fine 👍

@ahoppen ahoppen merged commit f995cb9 into swiftlang:main Jun 17, 2024
@ahoppen ahoppen deleted the skip-protocol-dynamic-test branch June 17, 2024 21:54
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