[svn r38117] call "python py.test" instead of "py.test" (does not rely on +x flag)
--HG-- branch : trunk
This commit is contained in:
parent
3049c6bd2a
commit
1a33d1eae6
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue