summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-30 11:54:23 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:17 +1000
commit9da89b4dda291ff2f42fa2e63cf84034c3a6f824 (patch)
treefd7a38416392b070bf0e9b7c418f05c5fa2500d3 /source4
parent8ed23a408d384d16f379e68cbad8285e9112ec31 (diff)
downloadsamba-9da89b4dda291ff2f42fa2e63cf84034c3a6f824.tar.gz
samba-9da89b4dda291ff2f42fa2e63cf84034c3a6f824.tar.bz2
samba-9da89b4dda291ff2f42fa2e63cf84034c3a6f824.zip
s4-waf: show the fully expanded test command
this makes it easier to run it separately
Diffstat (limited to 'source4')
-rw-r--r--source4/selftest/wscript2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/selftest/wscript b/source4/selftest/wscript
index 664061bcf1..8969d4694d 100644
--- a/source4/selftest/wscript
+++ b/source4/selftest/wscript
@@ -40,6 +40,7 @@ def set_options(opt):
def cmd_testonly(opt):
'''run tests without doing a build first'''
env = LOAD_ENVIRONMENT()
+ opt.env = env
env.TESTS = Options.options.TESTS
@@ -82,6 +83,7 @@ def cmd_testonly(opt):
os.unlink(st_done)
cmd = '(${PERL} ../selftest/selftest.pl --prefix=${SELFTEST_PREFIX} --builddir=. --srcdir=. --exclude=./selftest/skip --testlist="./selftest/tests.sh|" ${OPTIONS} --socket-wrapper ${TESTS} && touch ${SELFTEST_PREFIX}/st_done) | ${FILTER_OPTIONS}'
+ cmd = EXPAND_VARIABLES(opt, cmd)
print "test: running %s" % cmd
ret = RUN_COMMAND(cmd, env=env)