summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2010-07-09 15:42:34 +0200
committerAndreas Schneider <asn@cynapses.org>2010-07-09 15:42:34 +0200
commit5b5ee73ece4d74747234115de08be19b4a9ae62a (patch)
treee3d2de8d41bc56c2d9fd81fff45df4cb033797bf
parent9e928995f0289fcf56bfa60a7541a829e2d67a38 (diff)
downloadsamba-5b5ee73ece4d74747234115de08be19b4a9ae62a.tar.gz
samba-5b5ee73ece4d74747234115de08be19b4a9ae62a.tar.bz2
samba-5b5ee73ece4d74747234115de08be19b4a9ae62a.zip
s3-build: Add a gdbtestenv environment for Samba3.
This will open 3 xterms; smbd with gdb, winbind with gdb and a window to run client commands. Example: make gdbtestenv SMBD_OPTIONS="-d2"
-rw-r--r--source3/Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index bb9f440a58..e44e121830 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -3276,6 +3276,12 @@ SELFTEST_TESTENV = dc
testenv:
$(MAKE) selftest SELFTEST_TESTENV=$(SELFTEST_TESTENV) TESTS="--testenv"
+gdbtestenv:
+ $(MAKE) selftest SELFTEST_TESTENV=$(SELFTEST_TESTENV) \
+ SMBD_VALGRIND="xterm -n server -e $(selftestdir)/gdb_run $(S3_LD_LIBPATH_OVERRIDE)" \
+ WINBINDD_VALGRIND="xterm -n server -e $(selftestdir)/gdb_run $(S3_LD_LIBPATH_OVERRIDE)" \
+ TESTS="--testenv"
+
# Check for Winbind struct 32/64bit padding
test_wbpad: