Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Sep 9, 2023

  • Add attributes to Regrtest and RunTests:

    • fail_env_changed
    • num_workers
  • Rename MultiprocessTestRunner to RunWorkers. Add num_workers parameters to RunWorkers constructor. Remove RunWorkers.ns attribute.

  • Rename TestWorkerProcess to WorkerThread.

  • get_running() now returns a string like: "running (...): ...".

  • Regrtest.action_run_tests() now selects the number of worker processes, instead of the command line parser.

* Add attributes to Regrtest and RunTests:

  * fail_env_changed
  * num_workers

* Rename MultiprocessTestRunner to RunWorkers. Add num_workers
  parameters to RunWorkers constructor. Remove RunWorkers.ns
  attribute.
* Rename TestWorkerProcess to WorkerThread.
* get_running() now returns a string like: "running (...): ...".
* Regrtest.action_run_tests() now selects the number of worker
  processes, instead of the command line parser.
@vstinner vstinner enabled auto-merge (squash) September 10, 2023 00:11
@vstinner vstinner merged commit 0553fdf into python:main Sep 10, 2023
@vstinner vstinner deleted the regrtest_refactor9 branch September 10, 2023 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants