summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2010-08-14 01:54:37 +0200
committerMichael Adam <obnox@samba.org>2010-08-14 01:54:37 +0200
commita8492d2a927a6f381d0ba091019a0d3e90788d4f (patch)
tree0e3c83f78ad20f055cfb95172e52effea13e0887
parent1bc1fbe5fddfbd808daa2538221a976bbdeb5a6b (diff)
downloadsamba-a8492d2a927a6f381d0ba091019a0d3e90788d4f.tar.gz
samba-a8492d2a927a6f381d0ba091019a0d3e90788d4f.tar.bz2
samba-a8492d2a927a6f381d0ba091019a0d3e90788d4f.zip
s3:test: add a new "valgrindtestenv" target, similar to gdbtestenv
this runs the daemins in xterm under valgrind instead of in gdb
-rw-r--r--source3/Makefile.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 7aecdbc58f..ae8ad08c18 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -3329,6 +3329,13 @@ gdbtestenv:
SMBD_VALGRIND="xterm -n smbd -title smbd -e $(selftestdir)/gdb_run $(S3_LD_LIBPATH_OVERRIDE)" \
TESTS="--testenv"
+valgrindtestenv:
+ $(MAKE) test SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
+ NMBD_VALGRIND="xterm -n nmbd -title nmbd -e valgrind -q --db-attach=yes --num-callers=30" \
+ WINBINDD_VALGRIND="xterm -n winbindd -title winbindd -e valgrind -q --db-attach=yes --num-callers=30" \
+ SMBD_VALGRIND="xterm -n smbd -title smbd -e valgrind -q --db-attach=yes --num-callers=30" \
+ TESTS="--testenv"
+
# Check for Winbind struct 32/64bit padding
test_wbpad: