-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add SwiftBuild coverage support #9162
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
base: main
Are you sure you want to change the base?
Add SwiftBuild coverage support #9162
Conversation
@swift-ci test |
) | ||
func buildSystemOverrides( | ||
buildSystem: BuildSystemProvider.Kind, | ||
data: BuildData, |
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 don't think we should default to running all these tests in debug and release - the difference isn't relevant to many of them and it extends the runtime quite a bit
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.
#8984 could say otherwise :)
c3cfde3
to
281fb9c
Compare
@swift-ci test self hosted |
281fb9c
to
5a190d5
Compare
@swift-ci test |
5a190d5
to
6ef6eb4
Compare
@swift-ci test |
6ef6eb4
to
ff983fb
Compare
@swift-ci test |
@swift-ci test windows |
The macOS and Linux smoke builds failed for an infrastructure issue while cloning the dependant projects. Let's re-trigger them. @swift-ci test linux |
@swift-ci test macOS |
ff983fb
to
62a1f39
Compare
@swift-ci test |
@swift-ci test windows |
62a1f39
to
2d7b929
Compare
@swift-ci test |
2d7b929
to
a15f3a9
Compare
@swift-ci test |
a15f3a9
to
fed4fd3
Compare
@swift-ci test |
@swift-ci test windows |
fed4fd3
to
94b19a7
Compare
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.
@swift-ci test
@swift-ci test |
@swift-ci test windows |
10f73c5
to
36782ed
Compare
@swift-ci test |
@swift-ci test windows |
36782ed
to
399ac4a
Compare
@swift-ci test |
1 similar comment
@swift-ci test |
The following test failed
Let's re-trigger the job |
@swift-ci test self hosted windows |
399ac4a
to
9f4dc3b
Compare
@swift-ci test |
@swift-ci test windows |
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.
LGTM, just a couple of comments 😄
let moduleBRegex = try Regex(#"B[.]swiftmodule[/].*[.]swiftmodule"#) | ||
#expect(result.moduleContents.contains { $0.contains(moduleARegex) }) | ||
#expect(result.moduleContents.contains { $0.contains(moduleBRegex) }) | ||
case .swiftbuild, .xcode: |
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.
praise: thank you for using this syntax rather than defaulting to default
! I find it's easier to find switch-cases that need updating once you add a new case to the enum 😄
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.
That's the whole reason I didn't use default
. It's rather have a compiler error than a runtime behavioural issue :)
Ensure the SwiftBuild build systam has feature parity with the Native build system as it relates to coverage. Fixes: swiftlang#9077 Fixes: swiftlang#9197 Issue: rdar://159461439
9f4dc3b
to
2059e18
Compare
@swift-ci test |
@swift-ci test windows |
Ensure the SwiftBuild build system has feature parity with the Native build system as it relates to coverage.
Fixes: #9077
Fixes: #9197
Issue: rdar://159461439