The branch, master has been updated
via a591b84... s4-waf: added --gdbtest option for waf test
from 0b8a3a4... build: no need to re-create the lib and bin symlinks if
they exist
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit a591b8497d53aaa45c316c722e58d94f77420955
Author: Andrew Tridgell <[email protected]>
Date: Fri Apr 9 20:44:09 2010 +1000
s4-waf: added --gdbtest option for waf test
-----------------------------------------------------------------------
Summary of changes:
source4/selftest/wscript | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/selftest/wscript b/source4/selftest/wscript
index e1d07d5..b0ad3d4 100644
--- a/source4/selftest/wscript
+++ b/source4/selftest/wscript
@@ -45,6 +45,9 @@ def set_options(opt):
gr.add_option('--valgrind-server',
help=("use valgrind on the server in the tests (opens an
xterm)"),
action="store_true", dest='VALGRIND_SERVER', default=False)
+ gr.add_option('--gdbtest',
+ help=("run the testsuite within a gdb xterm window"),
+ action="store_true", dest='GDBTEST', default=False)
def cmd_testonly(opt):
@@ -87,7 +90,10 @@ def cmd_testonly(opt):
os.environ['VALGRIND'] += ' --log-file=%s' %
Options.options.VALGRINDLOG
if Options.options.VALGRIND_SERVER:
- os.environ['SAMBA_VALGRIND'] = 'xterm -n server -e
../selftest/valgrind_run A=B '
+ os.environ['SAMBA_VALGRIND'] = 'xterm -n server -e
../selftest/valgrind_run DUMMY=X'
+
+ if Options.options.GDBTEST:
+ os.environ['SAMBA_VALGRIND'] = 'xterm -n server -e ../selftest/gdb_run
DUMMY=X'
env.SELFTEST_PREFIX = Options.options.SELFTEST_PREFIX
--
Samba Shared Repository