twister: add --track-origin to valgrind execution
generate full information when looking for uninitialized variables Signed-off-by: Mikkel Jakobsen <mikkel.aunsbjerg@escolifesciences.com>
This commit is contained in:
parent
e6f685991f
commit
9314f6e527
1 changed files with 2 additions and 1 deletions
|
@ -582,7 +582,8 @@ class BinaryHandler(Handler):
|
|||
command = ["valgrind", "--error-exitcode=2",
|
||||
"--leak-check=full",
|
||||
"--suppressions=" + ZEPHYR_BASE + "/scripts/valgrind.supp",
|
||||
"--log-file=" + self.build_dir + "/valgrind.log"
|
||||
"--log-file=" + self.build_dir + "/valgrind.log",
|
||||
"--track-origins=yes",
|
||||
] + command
|
||||
run_valgrind = True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue