Mercurial > hg
comparison tests/run-tests.py @ 2672:118b198c9423
Provide a relevant description for --timeout.
author | Will Maier <willmaier@ml1.net> |
---|---|
date | Tue, 25 Jul 2006 10:29:43 -0500 |
parents | 1b4eb1f92433 |
children | 030d0abdf91b |
comparison
equal
deleted
inserted
replaced
2671:82864a2eb709 | 2672:118b198c9423 |
---|---|
23 | 23 |
24 parser = optparse.OptionParser("%prog [options] [tests]") | 24 parser = optparse.OptionParser("%prog [options] [tests]") |
25 parser.add_option("-v", "--verbose", action="store_true", | 25 parser.add_option("-v", "--verbose", action="store_true", |
26 help="output verbose messages") | 26 help="output verbose messages") |
27 parser.add_option("-t", "--timeout", type="int", | 27 parser.add_option("-t", "--timeout", type="int", |
28 help="output verbose messages") | 28 help="kill errant tests after TIMEOUT seconds") |
29 parser.add_option("-c", "--cover", action="store_true", | 29 parser.add_option("-c", "--cover", action="store_true", |
30 help="print a test coverage report") | 30 help="print a test coverage report") |
31 parser.add_option("-s", "--cover_stdlib", action="store_true", | 31 parser.add_option("-s", "--cover_stdlib", action="store_true", |
32 help="print a test coverage report inc. standard libraries") | 32 help="print a test coverage report inc. standard libraries") |
33 parser.add_option("-C", "--annotate", action="store_true", | 33 parser.add_option("-C", "--annotate", action="store_true", |