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: Refactor libregrtest.RunTests #109177

Merged
merged 1 commit into from
Sep 9, 2023

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Sep 9, 2023

  • 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.

* 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.
@vstinner vstinner enabled auto-merge (squash) September 9, 2023 08:58
@vstinner vstinner merged commit e21c89f into python:main Sep 9, 2023
22 of 23 checks passed
@vstinner vstinner deleted the regrtest_refactor6 branch September 9, 2023 09:18
nwarmup, ntracked, fname = ns.huntrleaks
fname = os.path.join(os_helper.SAVEDCWD, fname)
repcount = nwarmup + ntracked
warmups = hunt_refleak.warmups
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this has broken all of the refleak buildbots: https://buildbot.python.org/all/#/builders/474/builds/1335/steps/5/logs/stdio

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are all failing in the same way on #109197

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah. A test is missing apparently. I wrote PR #109202 to fix the regression and add a test.

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.

None yet

3 participants