]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30822: Exclude tzdata from regrtest --all (#2775) (#2777) 2784/head
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 20 Jul 2017 15:08:48 +0000 (17:08 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Jul 2017 15:08:48 +0000 (17:08 +0200)
commit96ef06f3979023fd69ed8796d0b1d88885d3ae4d
tree78b88439c09ca345aa1aa662d78bcdbaae7d432e
parent7f58994842d930ed5f92386579997871d2a3bb48
bpo-30822: Exclude tzdata from regrtest --all (#2775) (#2777)

When running the test suite using --use=all / -u all, exclude tzdata
since it makes test_datetime too slow (15-20 min on some buildbots)
which then times out on some buildbots.

-u tzdata must now be enabled explicitly, -u tzdata or -u all,tzdata,
to run all test_datetime tests.

Fix also regrtest command line parser to allow passing -u
extralargefile to run test_zipfile64.

Travis CI: remove -tzdata. Replace -u all,-tzdata,-cpu with -u all,-cpu since tzdata is now excluded from -u all.
(cherry picked from commit 5b392bbaeb9d9b1db961ecfc7315d8c8662c27f6)
.travis.yml
Lib/test/libregrtest/__init__.py
Lib/test/libregrtest/cmdline.py
Lib/test/test_regrtest.py
Misc/NEWS.d/next/Tests/2017-07-20-14-29-54.bpo-30822.X0wREo.rst [new file with mode: 0644]