diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/main.mk | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/source4/main.mk b/source4/main.mk index a2adbbb548..f3c79277ea 100644 --- a/source4/main.mk +++ b/source4/main.mk @@ -305,15 +305,28 @@ test-noswrap: all quicktest: all ./script/tests/selftest.sh ${selftest_prefix}/st quick SOCKET_WRAPPER -valgrindtest: all +valgrindtest: valgrindtest-quick + +valgrindtest-quick: 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}/st/valgrind.log" \ ./script/tests/selftest.sh ${selftest_prefix}/st quick SOCKET_WRAPPER -gdbtest: all +valgrindtest-all: 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}/st/valgrind.log" \ + ./script/tests/selftest.sh ${selftest_prefix}/st all SOCKET_WRAPPER + +gdbtest: gdbtest-quick + +gdbtest-quick: all SMBD_VALGRIND="xterm -n smbd -e gdb --args " \ ./script/tests/selftest.sh ${selftest_prefix}/st quick SOCKET_WRAPPER +gdbtest-all: all + SMBD_VALGRIND="xterm -n smbd -e gdb --args " \ + ./script/tests/selftest.sh ${selftest_prefix}/st all SOCKET_WRAPPER + unused_macros: ./script/find_unused_macros.pl `find . -name "*.[ch]"` | sort |