Skip to content

Don't log "no matching tests" diagnostic when running XCTest only. #7803

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

Fixes a logic error in deciding when to log the "no matching test cases were run" diagnostic if --disable-swift-testing is passed.

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
Copy link
Contributor Author

@swift-ci please test

@grynspan grynspan merged commit 947392e into main Jul 22, 2024
5 checks passed
@grynspan grynspan deleted the jgrynspan/no-log-no-matching-tests branch July 22, 2024 15:18
grynspan added a commit that referenced this pull request Jul 22, 2024
…ly. (#7804)

**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
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants