Commit 65fc7d14 authored by Stefan Behnel's avatar Stefan Behnel

add alias "-jN" for sharding to test runner

parent 5130b6fd
...@@ -1712,7 +1712,7 @@ def main(): ...@@ -1712,7 +1712,7 @@ def main():
parser.add_option("-x", "--exclude", dest="exclude", parser.add_option("-x", "--exclude", dest="exclude",
action="append", metavar="PATTERN", action="append", metavar="PATTERN",
help="exclude tests matching the PATTERN") help="exclude tests matching the PATTERN")
parser.add_option("--shard_count", dest="shard_count", metavar="N", parser.add_option("-j", "--shard_count", dest="shard_count", metavar="N",
type=int, default=1, type=int, default=1,
help="shard this run into several parallel runs") help="shard this run into several parallel runs")
parser.add_option("--shard_num", dest="shard_num", metavar="K", parser.add_option("--shard_num", dest="shard_num", metavar="K",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment