]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109162: Refactor libregrtest.RunTests (#109177)
authorVictor Stinner <vstinner@python.org>
Sat, 9 Sep 2023 09:18:14 +0000 (11:18 +0200)
committerGitHub <noreply@github.com>
Sat, 9 Sep 2023 09:18:14 +0000 (09:18 +0000)
commite21c89f9841488a1d4ca1024dc97c1aba44e0c87
tree47c27b3180cc97054e5ad14b5070daff882532d6
parentb4131a13cb41d0f397776683c3b99500db9e2cfd
gh-109162: Refactor libregrtest.RunTests (#109177)

* Rename dash_R() runtest_refleak(). The function now gets
  huntrleaks and quiet arguments, instead of 'ns' argument.
* Add attributes to Regrtest and RunTests:

  * verbose
  * quiet
  * huntrleaks
  * test_dir

* Add HuntRefleak class.
Lib/test/libregrtest/main.py
Lib/test/libregrtest/refleak.py
Lib/test/libregrtest/runtest.py
Lib/test/libregrtest/runtest_mp.py
Lib/test/libregrtest/setup.py