diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-29 23:46:38 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:27:17 +1000 |
commit | 6c76919ab516f6145c85a3c4da5c6bfe4ab632bd (patch) | |
tree | 434772265c3691118de833564317971a00d33179 /source4/selftest/wscript | |
parent | f0f67ebd2f1605c25c4726d7e5e8c57daf3decbf (diff) | |
download | samba-6c76919ab516f6145c85a3c4da5c6bfe4ab632bd.tar.gz samba-6c76919ab516f6145c85a3c4da5c6bfe4ab632bd.tar.bz2 samba-6c76919ab516f6145c85a3c4da5c6bfe4ab632bd.zip |
s4-waf: don't assume perl takes -W option
Diffstat (limited to 'source4/selftest/wscript')
-rw-r--r-- | source4/selftest/wscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/selftest/wscript b/source4/selftest/wscript index 8324ef5d6d..3ca03a5513 100644 --- a/source4/selftest/wscript +++ b/source4/selftest/wscript @@ -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) |