1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

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"
This commit is contained in:
Andreas Schneider 2010-07-09 15:42:34 +02:00
parent 9e928995f0
commit 5b5ee73ece

View File

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