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", |
34 help="output files annotated with coverage") |
34 help="output files annotated with coverage") |
35 parser.add_option("-r", "--retest", action="store_true", |
35 parser.add_option("-r", "--retest", action="store_true", |
36 help="retest failed tests") |
36 help="retest failed tests") |
|
37 parser.add_option("-f", "--first", action="store_true", |
|
38 help="exit on the first test failure") |
37 |
39 |
38 parser.set_defaults(timeout=180) |
40 parser.set_defaults(timeout=180) |
39 (options, args) = parser.parse_args() |
41 (options, args) = parser.parse_args() |
40 verbose = options.verbose |
42 verbose = options.verbose |
41 coverage = options.cover or options.cover_stdlib or options.annotate |
43 coverage = options.cover or options.cover_stdlib or options.annotate |