]> granicus.if.org Git - python/commit
[2.7] bpo-30283: regrtest: backport test_slow_interrupted() and test_coverage() ...
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 11 May 2017 09:30:23 +0000 (11:30 +0200)
committerGitHub <noreply@github.com>
Thu, 11 May 2017 09:30:23 +0000 (11:30 +0200)
commita5bb62436e25614276ac4b8e252a87f3fcc946cd
treefb2dd8b564dfd5a85095432dcef7638d1d234cac
parent3837d9797c14c13d170256143c841d29645e772a
[2.7] bpo-30283: regrtest: backport test_slow_interrupted() and test_coverage() (#1541)

* bpo-30283: regrtest: backport test_coverage()

* Add --coverage option, the option was already described in the doc
* When coverage is used, regrtest now pass all options to runtest()
  and calls also accumulate_result() (as done when coverage is not
  used).
* bpo-25260: Fix coverage on Windows: remove the list of ignored
  directories.

* bpo-30283: regrtest: backport test_slow_interrupted()

* Fix regrtest to report interrupted tests as omitted rather than
  failed.
* bpo-25260: Fix coverage on Windows: remove the list of ignored
  directories.

* bpo-30283: Fix test_regrtest on Visual Studio 2008

Skip Tools\buildbot\test.bat and PCbuild\rt.bat if Python was not
compiled in PCbuild (but compiled in PC\VS9.0\ for example).
Lib/test/regrtest.py
Lib/test/test_regrtest.py