1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

s3:test: add a new "valgrindtestenv" target, similar to gdbtestenv

this runs the daemins in xterm under valgrind instead of in gdb
This commit is contained in:
Michael Adam 2010-08-14 01:54:37 +02:00
parent 1bc1fbe5fd
commit a8492d2a92

View File

@ -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: