Skip to content
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

Skip testCompilationDiagnostics on certain failures #6076

Merged
merged 1 commit into from
Jan 25, 2023

Conversation

neonichu
Copy link
Contributor

We are seeing some failures in Swift CI that look similar to the compiler issue being worked around in #5659. For now, we will not assert if that particular part of the test fails and instead use XCTSkip plus log the bytes of the serialized diagnostics to the console.

rdar://96517321

We are seeing some failures in Swift CI that look similar to the compiler issue being worked around in #5659. For now, we will not assert if that particular part of the test fails and instead use `XCTSkip` plus log the bytes of the serialized diagnostics to the console.

rdar://96517321
@neonichu neonichu requested a review from abertelrud as a code owner January 24, 2023 22:02
@neonichu neonichu self-assigned this Jan 24, 2023
@neonichu neonichu requested review from tomerd and elsh as code owners January 24, 2023 22:02
@neonichu
Copy link
Contributor Author

@swift-ci please smoke test

@neonichu
Copy link
Contributor Author

macOS failures look like infra issues to me.

@neonichu
Copy link
Contributor Author

@swift-ci please smoke test macOS

@neonichu neonichu merged commit b9de0f4 into main Jan 25, 2023
@neonichu neonichu deleted the skip-testCompilationDiagnostics branch January 26, 2023 18:37
abertelrud added a commit to abertelrud/swift-package-manager that referenced this pull request Jan 27, 2023
…at it doesn't throw if there are no diagnostics at all reported

This is a follow-on to swiftlang#6076
abertelrud added a commit that referenced this pull request Jan 27, 2023
…at it doesn't throw if there are no diagnostics at all reported (#6080)

This is a supplemental fix for #6076 to avoid the XCTUnwrap() that causes the test to still fail.
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