-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Tests: Augment TraitTests to support SwiftBuild #8813
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
Tests: Augment TraitTests to support SwiftBuild #8813
Conversation
@swift-ci test |
a6e7413
to
bf2a051
Compare
@swift-ci test |
@swift-ci test self hosted |
@swift-ci test windows |
In the process of updating the TraitTests to add test support for the Swift Build build system, migrate the test Suite to Swift Testing, making use of parameterized tests to reduce duplication and use `withKnownIssue`` to get signal when tests have been fixed.
bf2a051
to
51cccf6
Compare
@swift-ci test |
@swift-ci test windows |
skipPlatformCi: true, | ||
) | ||
@Suite( | ||
// .serialized, // to limit the number of swift executable running. |
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.
question: can this comment be removed since the test suite will be running in parallel mode, not serialized?
func traits_whenNoFlagPassed( | ||
buildSystem: BuildSystemProvider.Kind, | ||
) async throws { | ||
try await withKnownIssue { | ||
try await fixture(name: "Traits") { fixturePath in |
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.
nitpick: This section be indented one level deeper here underneath the withKnownIssue
.
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.
this was done purposely with a few tests so so the diff is smaller won't show the whitespaces once the withKnownIssue
has been resolved.
In the process of updating the TraitTests to add test support for the Swift Build build system, migrate the test Suite to Swift Testing, making use of parameterized tests to reduce duplication and use
withKnownIssue
to get signal when tests have been fixed.Depends on: #8714