From a8492d2a927a6f381d0ba091019a0d3e90788d4f Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 14 Aug 2010 01:54:37 +0200 Subject: s3:test: add a new "valgrindtestenv" target, similar to gdbtestenv this runs the daemins in xterm under valgrind instead of in gdb --- source3/Makefile.in | 7 +++++++ 1 file changed, 7 insertions(+) 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: -- cgit