[Python-checkins] [python/cpython] a601fc: [3.5] bpo-30383: Backport regrtest and test_regrte...

GitHub noreply at github.com
Mon Jun 19 12:33:23 EDT 2017


  Branch: refs/heads/3.5
  Home:   https://github.com/python/cpython
  Commit: a601fcca3bf2061e43d4d2710a730536cf26327b
      https://github.com/python/cpython/commit/a601fcca3bf2061e43d4d2710a730536cf26327b
  Author: Victor Stinner <victor.stinner at gmail.com>
  Date:   2017-06-19 (Mon, 19 Jun 2017)

  Changed paths:
    M Lib/test/regrtest.py
    M Lib/test/test_regrtest.py

  Log Message:
  -----------
  [3.5] bpo-30383: Backport regrtest and test_regrtest enhancements from master to 3.5 (#2279)

* bpo-30383: regrtest: prepend testdir to sys.path

* bpo-30383: Backport test_regrtest

* regrtest: rename --slow option to --slowest

The old --slow syntax is still accepted.

* regrtest: add a single oneliner summary

Example: "Tests result: SUCCESS"

* test_regrtest: add test_coverage()

regrtest now also displays the number of successful tests when
coverage is used.

* test_regrtest: add test_crashed()

Handle correctly crashing test: account the crash has a failed test,
but continue to run other tests.

* regrtest: backport --list-tests feature

* regrtest: backport --fromfile enhancements

* regrtest: backport displaying progress enhancements

* test_regrtest: backport test_randseed()

* regrtest: Fix --coverage on Windows

Don't ignore any directory anymore. Change backported from master.




More information about the Python-checkins mailing list