-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add a helper tool for swift-testing #7771
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
Conversation
5700fa0
to
83391e7
Compare
Package.swift
Outdated
.executableTarget( | ||
name: "swiftpm-testing-helper", | ||
dependencies: ["Commands"], | ||
exclude: ["CMakeLists.txt"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We still need to teach CMake about this executable, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had that originally but it's not part of the regular build and bootstrap is using freshly build swiftpm so I think we are good.
83391e7
to
d38e575
Compare
@swift-ci please test |
d38e575
to
5a30490
Compare
@swift-ci please test |
@swift-ci please test Windows platform |
5a30490
to
541f70d
Compare
@swift-ci please test |
@swift-ci please test Windows platform |
541f70d
to
2675573
Compare
@swift-ci please test |
@swift-ci please test Windows platform |
Since the xctest and swift-testing are being unified into one product we need an additional tool (just like `swiftpm-xctest-helper`) to load and run swift-testing tests from the unified bundle.
2675573
to
6021057
Compare
@swift-ci please test |
@swift-ci please test Windows platform |
1 similar comment
@swift-ci please test Windows platform |
The `swiftpm-testing-helper` itself is merged separately by #7771
The `swiftpm-testing-helper` itself is merged separately by #7771
The `swiftpm-testing-helper` itself is merged separately by #7771
- Explanation: Since the xctest and swift-testing are being unified into one product we need an additional tool (just like `swiftpm-xctest-helper`) to load and run swift-testing tests from the unified bundle. - Main Branch PR: #7771 - Risk: Low - Reviewed By: @bnbarham @grynspan - Testing: This change doesn't impact SwiftPM functionality *yet*, it's merely hosting the executable. (cherry picked from commit 6021057)
Motivation:
Since the xctest and swift-testing are being unified into one product we need an additional tool (just like
swiftpm-xctest-helper
) to load and run swift-testing tests from the unified bundle.Modifications:
swiftpm-testing-helper
that accepts a bundle path as an argument.Result:
swift-testing tests can be run from the unified bundle.