Skip to content

gh-109162: Refactor libregrtest.RunTests - #109177

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:regrtest_refactor6
Sep 9, 2023
Merged

gh-109162: Refactor libregrtest.RunTests#109177
vstinner merged 1 commit into
python:mainfrom
vstinner:regrtest_refactor6

Conversation

@vstinner

@vstinnervstinner commented Sep 9, 2023

Copy link
Copy Markdown
Member
  • 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:mainSep 9, 2023
@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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
MemberAuthor

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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@AlexWaygood@bedevere-bot