]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109162: libregrtest: add single.py and result.py (#109243)
authorVictor Stinner <vstinner@python.org>
Mon, 11 Sep 2023 00:07:18 +0000 (02:07 +0200)
committerGitHub <noreply@github.com>
Mon, 11 Sep 2023 00:07:18 +0000 (00:07 +0000)
commit1ec45378e97a2d3812ed8bc18e1bd1eb8ddcc9a0
treeba25a061da1e444e058c1ef12a1a058f8390ca27
parenta939b65aa63e2cae1eec7d27e1dc56324aee01d7
gh-109162: libregrtest: add single.py and result.py (#109243)

* Add single.py and result.py files.
* Rename runtest.py to runtests.py.
* Move run_single_test() function and its helper functions to
  single.py.
* Move remove_testfn(), abs_module_name() and normalize_test_name()
  to utils.py.
* Move setup_support() to setup.py.
* Move type hints like TestName to utils.py.
* Rename runtest.py to runtests.py.
14 files changed:
Lib/test/libregrtest/findtests.py [new file with mode: 0644]
Lib/test/libregrtest/logger.py
Lib/test/libregrtest/main.py
Lib/test/libregrtest/refleak.py
Lib/test/libregrtest/result.py [new file with mode: 0644]
Lib/test/libregrtest/results.py
Lib/test/libregrtest/runtest.py [deleted file]
Lib/test/libregrtest/runtest_mp.py
Lib/test/libregrtest/runtests.py [new file with mode: 0644]
Lib/test/libregrtest/setup.py
Lib/test/libregrtest/single.py [new file with mode: 0644]
Lib/test/libregrtest/utils.py
Lib/test/libregrtest/worker.py
Lib/test/test_regrtest.py