2007-01-24 22:24:01 +08:00
|
|
|
#pythonexecutables = ('python2.2', 'python2.3',)
|
|
|
|
#pythonexecutable = 'python2.2'
|
|
|
|
|
|
|
|
# in the future we want to be able to say here:
|
|
|
|
#def setup_module(extpy):
|
|
|
|
# mod = extpy.resolve()
|
|
|
|
# mod.module = 23
|
|
|
|
# directory = pypath.root.dirpath()
|
|
|
|
|
|
|
|
# default values for options (modified from cmdline)
|
|
|
|
verbose = 0
|
|
|
|
nocapture = False
|
|
|
|
collectonly = False
|
|
|
|
exitfirst = False
|
|
|
|
fulltrace = False
|
|
|
|
showlocals = False
|
|
|
|
nomagic = False
|
2007-02-09 07:43:27 +08:00
|
|
|
|
|
|
|
import py
|
|
|
|
Option = py.test.config.Option
|
|
|
|
|
|
|
|
option = py.test.config.addoptions("execnet options",
|
|
|
|
Option('-S', '',
|
|
|
|
action="store", dest="sshtarget", default=None,
|
|
|
|
help=("target to run tests requiring ssh, e.g. "
|
|
|
|
"user@codespeak.net")),
|
2007-02-14 07:56:57 +08:00
|
|
|
Option('', '--apigenpath',
|
|
|
|
action="store", dest="apigenpath",
|
2007-02-14 09:03:51 +08:00
|
|
|
default="../apigen",
|
2007-02-14 07:56:57 +08:00
|
|
|
type="string",
|
2007-02-14 09:03:51 +08:00
|
|
|
help="relative path to apigen doc output location (relative from py/)"),
|
2007-02-14 07:56:57 +08:00
|
|
|
Option('', '--docpath',
|
|
|
|
action='store', dest='docpath',
|
2007-02-14 09:03:51 +08:00
|
|
|
default="doc", type='string',
|
|
|
|
help="relative path to doc output location (relative from py/)"),
|
2008-03-01 21:43:33 +08:00
|
|
|
Option('', '--runslowtests',
|
|
|
|
action="store_true", dest="runslowtests", default=False,
|
|
|
|
help="run slow tests)"),
|
2007-02-09 07:43:27 +08:00
|
|
|
)
|
|
|
|
|
2007-02-04 22:42:50 +08:00
|
|
|
dist_rsync_roots = ['.']
|