From 5b831783e3ff9229b707fc201ed27c748f949597 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sat, 18 Mar 2006 07:59:50 +0000 Subject: r14536: add make gdbtest-all and make valgrindtest-all metze (This used to be commit cee56387cf62b3cbcc7fbed5d3549d56c2a2d0da) --- source4/main.mk | 17 +++++++++++++++-- 1 file 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 -- cgit