[svn r63194] more option streamlining

--HG--
branch : trunk
This commit is contained in:
hpk 2009-03-21 21:02:04 +01:00
parent 0ba4bd25ac
commit 87f6f6b9f4
1 changed files with 3 additions and 4 deletions

View File

@ -97,12 +97,11 @@ class DefaultPlugin:
group._addoption('-d', '--dist', group._addoption('-d', '--dist',
action="store_true", dest="dist", default=False, action="store_true", dest="dist", default=False,
help="ad-hoc distribute tests across machines (requires conftest settings)") help="ad-hoc distribute tests across machines (requires conftest settings)")
group._addoption('-n', '--numprocesses', dest="numprocesses", default=0, metavar="num", group._addoption('-n', dest="numprocesses", default=0, metavar="numprocesses",
action="store", type="int", action="store", type="int",
help="number of local test processes. conflicts with --dist.") help="number of local test processes. conflicts with --dist.")
group.addoption('--rsyncdirs', dest="rsyncdirs", default=None, metavar="dir1,dir2,...", group.addoption('--rsyncdir', action="append", default=[], metavar="dir1",
help="comma-separated list of directories to rsync. All those roots will be rsynced " help="add local directory for rsync to remote test nodes.")
"into a corresponding subdir on the remote sides. ")
group._addoption('--tx', dest="xspec", action="append", group._addoption('--tx', dest="xspec", action="append",
help=("add a test environment, specified in XSpec syntax. examples: " help=("add a test environment, specified in XSpec syntax. examples: "
"--tx popen//python=python2.5 --tx socket=192.168.1.102")) "--tx popen//python=python2.5 --tx socket=192.168.1.102"))