]> granicus.if.org Git - python/commit
bpo-30822: Exclude tzdata from regrtest --all (#2775) (#2781)
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 20 Jul 2017 15:08:51 +0000 (17:08 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Jul 2017 15:08:51 +0000 (17:08 +0200)
commit645e503ba58086c7f51eda4d025743f2afc05a2a
treead00a2dbaf18e4c535553c678e617ff2fb30f86b
parent71d9b52aa3b3f1e390c56da8ea2d8685f23946c4
bpo-30822: Exclude tzdata from regrtest --all (#2775) (#2781)

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)
Lib/test/libregrtest/__init__.py [new file with mode: 0644]
Lib/test/regrtest.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]