]> granicus.if.org Git - python/commit
bpo-30822: Exclude tzdata from regrtest --all (#2775)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 20 Jul 2017 13:46:32 +0000 (15:46 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Jul 2017 13:46:32 +0000 (15:46 +0200)
commit5b392bbaeb9d9b1db961ecfc7315d8c8662c27f6
treefbc9cd59b265cb5ef5f341955e476ce2908956c0
parent5bffcf38aae9b2f42f4e39ff5be8c406bbdf6684
bpo-30822: Exclude tzdata from regrtest --all (#2775)

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.
.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]