From 1a33d1eae6dfb6faaf8df0b8c1f9341c81349bfc Mon Sep 17 00:00:00 2001 From: fijal Date: Wed, 7 Feb 2007 21:41:55 +0100 Subject: [PATCH] [svn r38117] call "python py.test" instead of "py.test" (does not rely on +x flag) --HG-- branch : trunk --- py/bin/_update_website.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/py/bin/_update_website.py b/py/bin/_update_website.py index 96ff68989..3f4bf1aca 100755 --- a/py/bin/_update_website.py +++ b/py/bin/_update_website.py @@ -32,7 +32,8 @@ def run_tests(pkgpath, args=''): apigenpath = pkgpath.join('apigen/apigen.py') # XXX be more general here? if not apigenpath.check(file=True): apigenpath = pypath.join('apigen/apigen.py') - cmd = 'PYTHONPATH="%s:%s" "%s" --apigen="%s" "%s" %s' % (pypath.dirpath(), + cmd = 'PYTHONPATH="%s:%s" python "%s" --apigen="%s" "%s" %s' % ( + pypath.dirpath(), pkgpath.dirpath(), pytestpath, apigenpath,