Skip to content

Commit 56c1eff

Browse files
committed
Avoid stomping on code coverage across libraries
1 parent fe0ffaa commit 56c1eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Commands/Utilities/TestingSupport.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ enum TestingSupport {
171171
// execution but is required when the tests are running in parallel as
172172
// SwiftPM repeatedly invokes the test binary with the test case name as
173173
// the filter.
174-
let codecovProfile = buildParameters.buildPath.appending(components: "codecov", "default%m.profraw")
174+
let codecovProfile = buildParameters.buildPath.appending(components: "codecov", "\(library)%m.profraw")
175175
env["LLVM_PROFILE_FILE"] = codecovProfile.pathString
176176
}
177177
#if !os(macOS)

0 commit comments

Comments
 (0)