summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
Diffstat (limited to 'source4/selftest')
-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')