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

Add gcov support to swss tests #180

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add gcov support to swss tests #180

wants to merge 1 commit into from

Conversation

tim-rj
Copy link

@tim-rj tim-rj commented Oct 31, 2020

This pull request is a practical application based on HLD:
sonic-net/SONiC#642

- What I did
Add automated gcov report generation when doing sonic-swss related tests
- How I did it
Introduce a new script called gcov_support.sh to handle gcov compiling and html report generating
- How to verify it
implement sonic-swss tests to see whether an html-based gcov report can be automatically generated

Signed-off-by: tim-rj <sonic_rd@ruijie.com.cn>
sed -i '/dh_auto_configure -- --enable-gcov/i\override_dh_auto_configure:' debian/rules
sed -i '/override_dh_auto_install/i\\r' debian/rules
popd
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you move this to swss repo?

@@ -0,0 +1,456 @@
#!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think this whole file should go to swss repo and better integrate with swss vs test.

@lguohan lguohan force-pushed the master branch 2 times, most recently from e187ae2 to 7f37a26 Compare December 26, 2020 11:59
@pettershao-ragilenetworks

ok, we will implement our new solution for moving all fix to swss repo soon!

@lguohan lguohan force-pushed the master branch 3 times, most recently from bde8e6c to 2295d0e Compare August 24, 2021 16:35
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.

3 participants