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

Create unit_tests_Valgrind.yml #230

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

praveenirumpanangadu
Copy link

This pull request was created as part of the following ticket. https://jira.rdkcentral.com/jira/browse/RDKBSUP-1687
@CLAassistant
Copy link

CLAassistant commented Oct 30, 2024

CLA assistant check
All committers have signed the CLA.

@pradeeptakdas
Copy link
Contributor

Internal ticket for tracking https://ccp.sys.comcast.net/browse/RDKCOM-5136

.github/workflows/unit_tests_Valgrind.yml Outdated Show resolved Hide resolved
.github/workflows/unit_tests_Valgrind.yml Outdated Show resolved Hide resolved
.github/workflows/unit_tests_Valgrind.yml Outdated Show resolved Hide resolved
praveenirumpanangadu and others added 3 commits November 14, 2024 10:30
Addressing the review comments
can you run the provider also with valgrind to get more better results
can you run the sessionmgr also with valgrind to get more better results
name: unit_tests_valgrind
on:
workflow_run:
workflows: ["unit_tests"]
Copy link
Contributor

Choose a reason for hiding this comment

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

The workflow should run whenever a pull or push occurs to the branch.

export PREFIX=$PWD
export LD_LIBRARY_PATH=$PREFIX/lib
valgrind --leak-check=full --error-exitcode=1 ./bin/multiRbusOpenMethodProvider &
valgrind --leak-check=full --error-exitcode=1 ./bin/multiRbusOpenMethodConsumer &
Copy link
Contributor

Choose a reason for hiding this comment

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

output need to be capture if any errors are detected

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.

5 participants