mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
The re test suite is very slow on slower hosts.
To save time, only run the first and last 10 tests except in verbose mode.
This commit is contained in:
parent
c7736b9d49
commit
d807b7589b
1 changed files with 3 additions and 0 deletions
|
@ -122,6 +122,9 @@ except AssertionError:
|
|||
from re_tests import *
|
||||
if verbose:
|
||||
print 'Running re_tests test suite'
|
||||
else:
|
||||
# To save time, only run the first and last 10 tests
|
||||
tests = tests[:10] + tests[-10:]
|
||||
|
||||
for t in tests:
|
||||
sys.stdout.flush()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue