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

regrtest: handle cross compilation and HOSTRUNNER in libregrtest, avoid Tools/scripts/run_tests.py #110152

Closed
vstinner opened this issue Sep 30, 2023 · 0 comments
Labels
tests Tests in the Lib/test dir

Comments

@vstinner
Copy link
Member

vstinner commented Sep 30, 2023

Previously, Tools/scripts/run_tests.py was used to add Python options to the command line: -u -E -W default -bb. But regrtest is now able to do it when --fast-ci and --slow-ci options are used.

I propose moving the remaining code of Tools/scripts/run_tests.py for cross compilation and HOSTRUNNER directly in libregrtest.

Linked PRs

@vstinner vstinner added the tests Tests in the Lib/test dir label Sep 30, 2023
vstinner added a commit to vstinner/cpython that referenced this issue Sep 30, 2023
vstinner added a commit to vstinner/cpython that referenced this issue Sep 30, 2023
* _add_python_opts() now handles cross compilation and HOSTRUNNER.
* display_header() now tells if Python is cross-compiled, display
  HOSTRUNNER, and get the host platform.
* Remove Tools/scripts/run_tests.py script.
* Remove "make hostrunnertest": use "make buildbottest"
  or "make test" instead.
vstinner added a commit to vstinner/cpython that referenced this issue Sep 30, 2023
* _add_python_opts() now handles cross compilation and HOSTRUNNER.
* display_header() now tells if Python is cross-compiled, display
  HOSTRUNNER, and get the host platform.
* Remove Tools/scripts/run_tests.py script.
* Remove "make hostrunnertest": use "make buildbottest"
  or "make test" instead.
vstinner added a commit that referenced this issue Sep 30, 2023
* _add_python_opts() now handles cross compilation and HOSTRUNNER.
* display_header() now tells if Python is cross-compiled, display
  HOSTRUNNER, and get the host platform.
* Remove Tools/scripts/run_tests.py script.
* Remove "make hostrunnertest": use "make buildbottest"
  or "make test" instead.
@vstinner vstinner closed this as completed Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir
Projects
None yet
Development

No branches or pull requests

1 participant