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

Code Coverage #376

Open
BaseMax opened this issue Dec 2, 2024 · 1 comment
Open

Code Coverage #376

BaseMax opened this issue Dec 2, 2024 · 1 comment
Labels
c enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@BaseMax
Copy link
Member

BaseMax commented Dec 2, 2024

gcc -fprofile-arcs -ftest-coverage -g -o my_project src/*.c
@BDadmehr0 BDadmehr0 added enhancement New feature or request good first issue Good for newcomers c labels Dec 2, 2024
@BDadmehr0 BDadmehr0 added this to the November milestone Dec 2, 2024
@BaseMax
Copy link
Member Author

BaseMax commented Dec 2, 2024

The issue describes needing to add code coverage to a C project using GCC. This involves compiling the code with specific flags to generate profiling data, then using a tool like gcov to generate a code coverage report. The task requires familiarity with GCC compilation flags and code coverage tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants