Skip to content
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

[SR-12962] Enabling code coverage, file are missing in the main target. #350

Open
swift-ci opened this issue Jun 9, 2020 · 3 comments
Open

Comments

@swift-ci
Copy link

swift-ci commented Jun 9, 2020

Previous ID SR-12962
Radar None
Original Reporter tamil_27 (JIRA User)
Type Bug

Attachment: Download

Environment

Xcode 11.3.1

Swift 5

Additional Detail from JIRA
Votes 0
Component/s XCTest
Labels Bug, CodeCoverage, XCTest, xcframework
Assignee None
Priority Medium

md5: c4859ac99c7b2abc9738698c63d6eb36

Issue Description:

After enabling code coverage, under main target i can see only two files but actual files are more than 1000+. Any idea why we are getting only two files ?

@swift-ci
Copy link
Author

Comment by Sachin Vas (JIRA)

573f (JIRA User) Can you please let us know what is the issue here?

@swift-ci
Copy link
Author

Comment by Stephen Skubik-Peplaski (JIRA)

I am not associated with this issue.

@swift-ci
Copy link
Author

Comment by Wes Campaigne (JIRA)

Is the code under testing being built with "whole module" compilation mode, or is it using "incremental"?

I was just experiencing a similar issue, and switching the compilation mode setting from "whole module" to "incremental" in the build configuration being used for the tests fixed it.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant