]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109276: regrtest: add WORKER_FAILED state (#110148)
authorVictor Stinner <vstinner@python.org>
Sat, 30 Sep 2023 20:48:26 +0000 (22:48 +0200)
committerGitHub <noreply@github.com>
Sat, 30 Sep 2023 20:48:26 +0000 (22:48 +0200)
commit2c234196ea30b9da370780204ed9068f1fb134c6
tree18f3e79aafba9bbadfb27f26904e52a8e08341a3
parentc62b49ecc8da13fa9522865ef6fe0aec194fd0d8
gh-109276: regrtest: add WORKER_FAILED state (#110148)

Rename WORKER_ERROR to WORKER_BUG. Add WORKER_FAILED state: it does
not stop the manager, whereas WORKER_BUG does.

Change also TestResults.display_result() order: display failed tests
at the end, the important important information.

WorkerThread now tries to get the signal name for negative exit code.
Lib/test/libregrtest/result.py
Lib/test/libregrtest/results.py
Lib/test/libregrtest/run_workers.py
Lib/test/libregrtest/utils.py
Lib/test/test_regrtest.py