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 |
|
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 --valgrindImpact 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