Author: tridge
Date: 2005-12-28 22:49:02 +0000 (Wed, 28 Dec 2005)
New Revision: 12556

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

Log:

added 'make gdbtest'

this runs smbd under gdb in a xterm, and starts the quicktest
tests. Then you can set a breakpoint on an interesting place. This
makes it easier to track down where something is happening in the test
suite (I used it to find the NTLMSSP annoyance from the previous
commit)



Modified:
   branches/SAMBA_4_0/source/main.mk


Changeset:
Modified: branches/SAMBA_4_0/source/main.mk
===================================================================
--- branches/SAMBA_4_0/source/main.mk   2005-12-28 22:48:54 UTC (rev 12555)
+++ branches/SAMBA_4_0/source/main.mk   2005-12-28 22:49:02 UTC (rev 12556)
@@ -275,6 +275,10 @@
        VALGRIND="valgrind -q --num-callers=30 --log-file=st/valgrind.log" \
        ./script/tests/selftest.sh ${selftest_prefix}/st quick SOCKET_WRAPPER
 
+gdbtest: all
+       SMBD_VALGRIND="xterm -n smbd -e gdb --args " \
+       ./script/tests/selftest.sh ${selftest_prefix}/st quick SOCKET_WRAPPER
+
 bin/.dummy:
        @: >> $@ || : > $@
 

Reply via email to