From fc8fef69fda3b7a9627adfc6bc5599eff03383a8 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 28 Dec 2005 22:49:02 +0000 Subject: 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) --- source4/main.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4') 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: @: >> $@ || : > $@ -- cgit