All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/2] test-runner: set --show-leak-kinds=all
@ 2022-01-19 23:04 James Prestwood
  0 siblings, 0 replies; only message in thread
From: James Prestwood @ 2022-01-19 23:04 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 560 bytes --]

This enables leak checks starting in main() which were previously
ignored.
---
 tools/test-runner | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/test-runner b/tools/test-runner
index c35466c1..7176deaf 100755
--- a/tools/test-runner
+++ b/tools/test-runner
@@ -673,6 +673,7 @@ class Namespace:
 
 		if self.args.valgrind:
 			args.extend(['valgrind', '--leak-check=full', '--track-origins=yes',
+					'--show-leak-kinds=all',
 					'--log-file=/tmp/valgrind.log.%p'])
 
 		args.extend(['iwd', '-p', iwd_radios, '-E'])
-- 
2.31.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-19 23:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19 23:04 [PATCH 2/2] test-runner: set --show-leak-kinds=all James Prestwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.