Mercurial > hg-stable
comparison tests/run-tests.py @ 2576:6a961a54f953
Changed default timeout for run-tests.py from 30 to 180 seconds.
As e.g. test-http-proxy already takes quite some time (about a minute here)
and tests usually should clean up after themselves, the timeout should only be
hit in case of other problems.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 07 Jul 2006 11:23:53 +0200 |
parents | 83cfd95eafb5 |
children | 1b4eb1f92433 |
comparison
equal
deleted
inserted
replaced
2575:7289d20b18cd | 2576:6a961a54f953 |
---|---|
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", |
34 help="output files annotated with coverage") | 34 help="output files annotated with coverage") |
35 parser.set_defaults(timeout=30) | 35 parser.set_defaults(timeout=180) |
36 (options, args) = parser.parse_args() | 36 (options, args) = parser.parse_args() |
37 verbose = options.verbose | 37 verbose = options.verbose |
38 coverage = options.cover or options.cover_stdlib or options.annotate | 38 coverage = options.cover or options.cover_stdlib or options.annotate |
39 | 39 |
40 def vlog(*msg): | 40 def vlog(*msg): |