mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4-waf: don't assume perl takes -W option
This commit is contained in:
parent
f0f67ebd2f
commit
6c76919ab5
@ -42,7 +42,7 @@ def cmd_testonly(opt):
|
||||
env = Environment.Environment()
|
||||
|
||||
env.TESTS = Options.options.TESTS
|
||||
env.PERL = 'perl -W'
|
||||
env.PERL = 'perl'
|
||||
env.PYTHON = 'python'
|
||||
|
||||
env.SUBUNIT_FORMATTER = '${PERL} ../selftest/format-subunit --prefix=${SELFTEST_PREFIX} --immediate'
|
||||
@ -83,7 +83,7 @@ def cmd_testonly(opt):
|
||||
if os.path.exists(st_done):
|
||||
os.unlink(st_done)
|
||||
|
||||
cmd = '(perl -W ../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 = '(${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}'
|
||||
|
||||
print "test: running %s" % cmd
|
||||
ret = RUN_COMMAND(cmd, env=env)
|
||||
|
Loading…
Reference in New Issue
Block a user