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

How to pass project root to gcov plugin? #451

Closed
chfast opened this issue Jun 3, 2024 · 1 comment
Closed

How to pass project root to gcov plugin? #451

chfast opened this issue Jun 3, 2024 · 1 comment
Assignees
Labels
Area: Report Upload Issues with pre-ingest report uploading bug Something isn't working documentation Improvements or additions to documentation Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months

Comments

@chfast
Copy link

chfast commented Jun 3, 2024

The gcov plugin searches the *.gcno files in the "project root" directory which is the current directory by default. I need to specify the external build dir where the *.gcno files are because it is not the project root.

@thomasrockhu-codecov thomasrockhu-codecov added the bug Something isn't working label Jun 11, 2024
@rohan-at-sentry rohan-at-sentry added help wanted Extra attention is needed documentation Improvements or additions to documentation high High Priority Issues (to be fixed within 2 sprints) labels Aug 20, 2024
@thomasrockhu-codecov thomasrockhu-codecov added Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months Area: Report Upload Issues with pre-ingest report uploading and removed high High Priority Issues (to be fixed within 2 sprints) help wanted Extra attention is needed labels Aug 20, 2024
@thomasrockhu-codecov
Copy link
Contributor

@chfast so sorry about this. You are totally right, there was no way to add configuration options to the CLI. I have pushed a new version which should allow this, you can use these arguments

             --gcov-args TEXT                Extra arguments to pass to gcov
             --gcov-ignore TEXT              Paths to ignore during gcov gathering
             --gcov-include TEXT             Paths to include during gcov gathering
             --gcov-executable TEXT          gcov executable to run. Defaults to 'gcov'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Report Upload Issues with pre-ingest report uploading bug Something isn't working documentation Improvements or additions to documentation Medium Medium Priority Issues (to be fixed or re-evaluated in 3 months
Projects
None yet
Development

No branches or pull requests

3 participants