Rev 1373: Add target for checking for memory leaks. in http://people.samba.org/bzr/jelmer/bzr-svn/0.4
Jelmer Vernooij
jelmer at samba.org
Fri Jun 27 14:11:48 BST 2008
At http://people.samba.org/bzr/jelmer/bzr-svn/0.4
------------------------------------------------------------
revno: 1373
revision-id: jelmer at samba.org-20080627131147-8i7kasn0nyv61zwf
parent: jelmer at samba.org-20080627020649-nacc0x4i64ov53jb
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Fri 2008-06-27 15:11:47 +0200
message:
Add target for checking for memory leaks.
modified:
Makefile makefile.other-20080311181537-5svhje3v1flh1n4f-1
=== modified file 'Makefile'
--- a/Makefile 2008-06-21 22:05:10 +0000
+++ b/Makefile 2008-06-27 13:11:47 +0000
@@ -49,6 +49,9 @@
valgrind-check:: build-inplace-debug
$(MAKE) check DEBUGGER="valgrind --suppressions=/usr/lib/valgrind/python.supp $(VALGRIND_OPTIONS)"
+leak-check::
+ $(MAKE) valgrind-check VALGRIND_OPTIONS="--leak-check=full --show-reachable=yes --num-callers=200 --leak-resolution=med --log-file=leaks.log"
+
gdb-check:: build-inplace-debug
$(MAKE) check DEBUGGER="gdb --args $(GDB_OPTIONS)"
More information about the bazaar-commits
mailing list