]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix test_regrtest when run with uops always on (#108778)
authorGuido van Rossum <guido@python.org>
Fri, 1 Sep 2023 23:27:09 +0000 (16:27 -0700)
committerGitHub <noreply@github.com>
Fri, 1 Sep 2023 23:27:09 +0000 (16:27 -0700)
commit76ce537fb1291f90c6dccbfea8653544de7902fd
tree72c6956eeeaddb3c387cf9dfcf82add60ef17f30
parentd5c5d4bfd3260219397326795d3b2ff62a9ab8cb
Fix test_regrtest when run with uops always on (#108778)

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`.
Lib/test/test_regrtest.py