Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-109162: libregrtest: add Logger class #109212

Merged
merged 1 commit into from
Sep 10, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Sep 10, 2023

  • Add Logger class in a new logger.py file.

  • Move Regrtest attributes to Logger:

    • start_time
    • test_count_text
    • test_count_width
    • win_load_tracker
  • Move Regrtest method to Logger:

    • log()
    • getloadavg(): rename to get_load_avg()
    • set_tests()
  • Add methods to the Logger class:

    • start_load_tracker()
    • stop_load_tracker()

* Add Logger class in a new logger.py file.
* Move Regrtest attributes to Logger:

  * start_time
  * test_count_text
  * test_count_width
  * win_load_tracker

* Move Regrtest method to Logger:

  * log()
  * getloadavg(): rename to get_load_avg()
  * set_tests()

* Add methods to the Logger class:

  * start_load_tracker()
  * stop_load_tracker()
@vstinner vstinner enabled auto-merge (squash) September 10, 2023 02:35
@vstinner vstinner merged commit 0eab242 into python:main Sep 10, 2023
@vstinner vstinner deleted the regrtest_refactor12 branch September 10, 2023 03:04
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