Skip to content

[6.0] Don't log "no matching tests" diagnostic when running XCTest only. #7804

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
Jul 22, 2024

Conversation

grynspan
Copy link
Contributor

@grynspan grynspan commented Jul 22, 2024

Explanation: Fixes a logic error in deciding when to log the "no matching test cases were run" diagnostic if --disable-swift-testing is passed.
Scope: Bug fix in swift test.
Issue: N/A (noticed locally, opened PR)
Original PR: #7803
Risk: Low
Testing: Added unit test.
Reviewer: @MaxDesiatov @bnbarham

Fixes a logic error in deciding when to log the "no matching test cases were
run" diagnostic if `--disable-swift-testing` is passed.
@grynspan grynspan added bug swift test Changes impacting `swift test` tool labels Jul 22, 2024
@grynspan grynspan self-assigned this Jul 22, 2024
@grynspan grynspan requested a review from a team as a code owner July 22, 2024 14:01
@grynspan
Copy link
Contributor Author

@swift-ci please test

@MaxDesiatov MaxDesiatov added the swift 6.0 Related to Swift 6.0 release branch label Jul 22, 2024
@grynspan grynspan merged commit 2cd7852 into release/6.0 Jul 22, 2024
5 checks passed
@grynspan grynspan deleted the jgrynspan/no-log-no-matching-tests-6.0 branch July 22, 2024 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug swift test Changes impacting `swift test` tool swift 6.0 Related to Swift 6.0 release branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants