summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/main.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/main.mk b/source4/main.mk
index 5b9cda6c93..5d38cd5e1d 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -310,6 +310,11 @@ valgrindtest-all: all
VALGRIND="valgrind -q --num-callers=30 --log-file=${selftest_prefix}/valgrind.log" \
$(srcdir)/script/tests/selftest.sh ${selftest_prefix} all SOCKET_WRAPPER
+valgrindtest-env: 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}/valgrind.log" \
+ $(srcdir)/script/tests/selftest.sh ${selftest_prefix} xterm SOCKET_WRAPPER
+
gdbtest: gdbtest-quick
gdbtest-quick: all