1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s4-waf: show the fully expanded test command

this makes it easier to run it separately
This commit is contained in:
Andrew Tridgell 2010-03-30 11:54:23 +11:00
parent 8ed23a408d
commit 9da89b4dda

View File

@ -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)