mirror of https://github.com/python/cpython.git
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
|
@ -122,6 +122,9 @@ def bump_num(matchobj):
|
|||
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…
Reference in New Issue