From ce461a7857cfc1658b31f43ebfda0cccf73fb5fb Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 8 Feb 2011 20:38:05 +1100 Subject: s4-selftest Fix valgrind and gdb options for top level build Andrew Bartlett --- source4/selftest/wscript | 4 ++-- 1 file 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') -- cgit