[svn r38117] call "python py.test" instead of "py.test" (does not rely on +x flag)

--HG--
branch : trunk
This commit is contained in:
fijal 2007-02-07 21:41:55 +01:00
parent 3049c6bd2a
commit 1a33d1eae6
1 changed files with 2 additions and 1 deletions

View File

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