Fix test_regrtest when run with uops always on by gvanrossum · Pull Request #108778 · python/cpython · GitHub
Skip to content

Fix test_regrtest when run with uops always on - #108778

Merged
gvanrossum merged 2 commits into
python:mainfrom
gvanrossum:pass-uops
Sep 1, 2023
Merged

gvanrossum merged 2 commits into
python:mainfrom
gvanrossum:pass-uops

Conversation

@gvanrossum

@gvanrossum gvanrossum commented Sep 1, 2023

Copy link
Copy Markdown
Member

The fix has two parts:

  • When -X uops is detected, pass it on to the subprocess created to run the manufactured test.
    I need this so I can run ./python -Xuops -m test test_regrtest and see it fail without the next fix.
  • Use -R 6:3: in ArgsTestCase.test_huntrleaks instead of -R 3:3: -- it takes longer to settle with -X uops.

(This is an attempt to make gh-107820 pass all tests. The other failure there is an failing assertion in test_exceptions, but I believe that's fixed by gh-108725.)

@bedevere-bot bedevere-bot added the tests Tests in the Lib/test dir label Sep 1, 2023
@gvanrossum

Copy link
Copy Markdown
Member Author

@gvanrossum
gvanrossum marked this pull request as ready for review September 1, 2023 23:25
@gvanrossum
gvanrossum merged commit 76ce537 into python:main Sep 1, 2023
@gvanrossum
gvanrossum deleted the pass-uops branch September 1, 2023 23:27
@bedevere-bot

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip issue skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants