summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-02-08 20:38:05 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-02-09 01:11:06 +0100
commitce461a7857cfc1658b31f43ebfda0cccf73fb5fb (patch)
treef0de31a4a6322c3ae6e7aa648ce1fce9ce999154 /source4
parenta2ce53c1f5301ffcf990dbab837c328ea22739b6 (diff)
downloadsamba-ce461a7857cfc1658b31f43ebfda0cccf73fb5fb.tar.gz
samba-ce461a7857cfc1658b31f43ebfda0cccf73fb5fb.tar.bz2
samba-ce461a7857cfc1658b31f43ebfda0cccf73fb5fb.zip
s4-selftest Fix valgrind and gdb options for top level build
Andrew Bartlett
Diffstat (limited to 'source4')
-rw-r--r--source4/selftest/wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/selftest/wscript b/source4/selftest/wscript
index a348345dfd..d2a9bc5ee8 100644
--- a/source4/selftest/wscript
+++ b/source4/selftest/wscript
@@ -134,13 +134,13 @@ def cmd_testonly(opt):
server_wrapper = '${srcdir}/selftest/gdb_run _DUMMY=X'
if Options.options.SCREEN:
- server_wrapper = '${srcdir}selftest/in_screen %s' % server_wrapper
+ server_wrapper = '${srcdir}/selftest/in_screen %s' % server_wrapper
os.environ['TERMINAL'] = '${srcdir}/selftest/in_screen'
elif server_wrapper != '':
server_wrapper = 'xterm -n server -l -e %s' % server_wrapper
if server_wrapper != '':
- os.environ['SAMBA_VALGRIND'] = server_wrapper
+ os.environ['SAMBA_VALGRIND'] = EXPAND_VARIABLES(opt, server_wrapper)
# this is needed for systems without rpath, or with rpath disabled
ADD_LD_LIBRARY_PATH('bin/shared')