-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Valgrind support added for unittests #12064
Conversation
Test run: FAILEDSummary: 1 of 1 test jobs failed Failed test jobs:
|
8ed0186
to
906bfcb
Compare
CI restarted |
Test run: SUCCESSSummary: 1 of 1 test jobs passed |
@jamesbeyond Please review |
Hi @AnttiKauppila, this is looking good! And I got 2 questions to ask:
maybe @VeliMattiLahtela need to aware of the 2nd question aswell |
@jamesbeyond , regarding question (1), I have good experience running unittests and Valgrind on Linux Subsystem For Windows. |
|
Added an option to select Valgrind to be used for unittests from command line
906bfcb
to
142581c
Compare
@jamesbeyond Added the handling in case valgrind is missing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
CI started |
Test run: SUCCESSSummary: 1 of 1 test jobs passed |
Hi, @AnttiKauppila, how can I use “mbed test” argument --valgrind?
The link in p.2 is disabled. Unable to find any information about mbed test and valgrind. Thanks! |
@petroborys mbed-cli has a bug with python 3.x. Fix is available but it is not released yet: ARMmbed/mbed-cli#965 |
Added an option to select Valgrind to be used for unittests from command line
Summary of changes
Added an option to select Valgrind to be used for unittests from command line
can be used by calling
mbed test --unittest --valgrind
Impact of changes
Migration actions required
Documentation
Tool specific help is part of this PR, mbed-cli must be updated also to add same option hint.
Pull request type
Test results
Reviewers
@ARMmbed/mbed-os-wan @ARMmbed/mbed-os-ipcore