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 rate in SONiC HLD #635

Closed
wants to merge 11 commits into from
Closed

code coverage rate in SONiC HLD #635

wants to merge 11 commits into from

Conversation

tim-rj
Copy link
Contributor

@tim-rj tim-rj commented Jun 13, 2020

Problem Definition

Code coverage rate is the term used in code testing in Ruijie commercial switch for years. It is the rate of the number of code lines has been executed divide by the number of total code lines in switch operating system. We reuse this term in SONiC code testing and create some related tools for SONiC code testing.

Ruijie's Solution

Ruijie use the Gcov tools to measure the code coverage rate in its commercial switch and white box switch. We create the Linux scripts for Gcov compiling, Gcov data collect, and Gcov data show functions for SONiC. A GCOV_ENABLE compiling tag is provided for SONiC code project. And we integrate all these Gcov functions into Jenkins CICD system. Our solution is a complete tool set for code coverage rate for SONiC.

@tim-rj
Copy link
Contributor Author

tim-rj commented Jul 1, 2020

Move to a NEW PR for clean commiting information - #642, close this one.

@tim-rj tim-rj closed this Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants