]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-109162: libregrtest: remove WorkerJob class (#109204)
authorVictor Stinner <vstinner@python.org>
Sat, 9 Sep 2023 23:41:21 +0000 (01:41 +0200)
committerGitHub <noreply@github.com>
Sat, 9 Sep 2023 23:41:21 +0000 (01:41 +0200)
commit0c0f254230bbc9532a7e78077a639a3ac940953c
treed35badf6fac682af73666dc883292a67df5778da
parent24fa8f2046965b46c70a750a5a004708a63ac770
gh-109162: libregrtest: remove WorkerJob class (#109204)

* Add attributes to Regrtest and RunTests:

  * gc_threshold
  * memory_limit
  * python_cmd
  * use_resources

* Remove WorkerJob class. Add as_json() and from_json() methods to
  RunTests. A worker process now only uses RunTests for all
  parameters.
* Add tests on support.set_memlimit() in test_support. Create
  _parse_memlimit() and also adds tests on it.
* Remove 'ns' parameter from runtest.py.
Lib/test/libregrtest/cmdline.py
Lib/test/libregrtest/main.py
Lib/test/libregrtest/runtest.py
Lib/test/libregrtest/runtest_mp.py
Lib/test/libregrtest/setup.py
Lib/test/support/__init__.py
Lib/test/test_support.py