]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-115122: Add --bisect option to regrtest (#115123)
authorVictor Stinner <vstinner@python.org>
Sun, 18 Feb 2024 20:06:39 +0000 (21:06 +0100)
committerGitHub <noreply@github.com>
Sun, 18 Feb 2024 20:06:39 +0000 (20:06 +0000)
commit1e5719a663d5b1703ad588dda4fccd763c7d3e99
tree6d95014e8861afe43ef2de129255bc8c9c26fc1b
parent0c80da4c14d904a367968955544dd6ae58c8101c
gh-115122: Add --bisect option to regrtest (#115123)

* test.bisect_cmd now exit with code 0 on success, and code 1 on
  failure. Before, it was the opposite.
* test.bisect_cmd now runs the test worker process with
  -X faulthandler.
* regrtest RunTests: Add create_python_cmd() and bisect_cmd()
  methods.
Lib/test/bisect_cmd.py
Lib/test/libregrtest/cmdline.py
Lib/test/libregrtest/main.py
Lib/test/libregrtest/results.py
Lib/test/libregrtest/runtests.py
Lib/test/libregrtest/worker.py
Lib/test/test_regrtest.py
Misc/NEWS.d/next/Tests/2024-02-18-14-20-52.gh-issue-115122.3rGNo9.rst [new file with mode: 0644]