svn commit: samba r19538 - in branches/SAMBA_4_0/source: .

abartlet at samba.org abartlet at samba.org
Fri Nov 3 00:34:53 GMT 2006


Author: abartlet
Date: 2006-11-03 00:34:52 +0000 (Fri, 03 Nov 2006)
New Revision: 19538

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19538

Log:
This is getting silly, but I needed an easy way to run 'make testenv'
under valgrind.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/main.mk


Changeset:
Modified: branches/SAMBA_4_0/source/main.mk
===================================================================
--- branches/SAMBA_4_0/source/main.mk	2006-11-02 22:17:11 UTC (rev 19537)
+++ branches/SAMBA_4_0/source/main.mk	2006-11-03 00:34:52 UTC (rev 19538)
@@ -310,6 +310,11 @@
 	VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
 	$(srcdir)/script/tests/selftest.sh ${selftest_prefix} all SOCKET_WRAPPER
 
+valgrindtest-env: all
+	SMBD_VALGRIND="xterm -n smbd -e valgrind -q --db-attach=yes --num-callers=30" \
+	VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
+	$(srcdir)/script/tests/selftest.sh ${selftest_prefix} xterm SOCKET_WRAPPER
+
 gdbtest: gdbtest-quick
 
 gdbtest-quick: all



More information about the samba-cvs mailing list