diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-12-28 22:49:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:47:57 -0500 |
commit | fc8fef69fda3b7a9627adfc6bc5599eff03383a8 (patch) | |
tree | 529deb4fbe1fb1dc1f2d1bc7a740ab69a5c31335 /source4/main.mk | |
parent | 302cab75c33c1fb3127161a930e63df18c05159c (diff) | |
download | samba-fc8fef69fda3b7a9627adfc6bc5599eff03383a8.tar.gz samba-fc8fef69fda3b7a9627adfc6bc5599eff03383a8.tar.xz samba-fc8fef69fda3b7a9627adfc6bc5599eff03383a8.zip |
r12556: 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)
(This used to be commit 2c3b7585c76d13107d1b0d31aebef961627cdbc3)
Diffstat (limited to 'source4/main.mk')
-rw-r--r-- | source4/main.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/main.mk b/source4/main.mk index 6caa09b9a9..62855ee56b 100644 --- a/source4/main.mk +++ b/source4/main.mk @@ -275,6 +275,10 @@ valgrindtest: all 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: @: >> $@ || : > $@ |