summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-24 16:45:08 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:05 +1000
commit65ffd1240df9edfbcfe62cf87a1e29c4a4bb9ec1 (patch)
treeac0b84ce7d30c3069a88125c0f6ac7f3d5a39bff
parente35864afdc298f9ca3d545c05c6c314c87fb8ff7 (diff)
downloadsamba-65ffd1240df9edfbcfe62cf87a1e29c4a4bb9ec1.tar.gz
samba-65ffd1240df9edfbcfe62cf87a1e29c4a4bb9ec1.tar.bz2
samba-65ffd1240df9edfbcfe62cf87a1e29c4a4bb9ec1.zip
s4-waf: don't hardcode python path
-rw-r--r--source4/selftest/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/selftest/wscript b/source4/selftest/wscript
index a2f9b76d4d..31a64cfe11 100644
--- a/source4/selftest/wscript
+++ b/source4/selftest/wscript
@@ -79,7 +79,7 @@ def cmd_testonly(opt):
if os.path.exists(st_done):
os.unlink(st_done)
- cmd = '(PYTHON=/usr/bin/python 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 -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}'
print "test: running %s" % cmd
ret = RUN_COMMAND(cmd, env=env)