Skip to content

gh-117889: Fix PGO test in test_peg_generator - #117893

Merged
vstinner merged 2 commits into
python:mainfrom
vstinner:test_peg_gen
Apr 15, 2024
Merged

vstinner merged 2 commits into
python:mainfrom
vstinner:test_peg_gen

Conversation

@vstinner

@vstinner vstinner commented Apr 15, 2024 •

Copy link
Copy Markdown
Member

Reuse support.check_cflags_pgo() in test_peg_generator to check if PGO build is used or not.

Reuse support.check_cflags_pgo() in test_peg_generator to check if
PGO build is used or not.
@erlend-aasland

Copy link
Copy Markdown
Contributor

Thank you Victor!

@erlend-aasland

This comment was marked as outdated.

@bedevere-bot

This comment was marked as outdated.

@vstinner
vstinner merged commit 64cd6fc into python:main Apr 15, 2024
@vstinner
vstinner deleted the test_peg_gen branch April 15, 2024 13:59
@miss-islington-app

This comment was marked as outdated.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 15, 2024
Reuse support.check_cflags_pgo() in test_peg_generator to check for
PGO build.

Log PGO_PROF_USE_FLAG in test.pythoninfo.
(cherry picked from commit 64cd6fc)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-app

bedevere-app Bot commented Apr 15, 2024

Copy link
Copy Markdown

GH-117895 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Apr 15, 2024
erlend-aasland pushed a commit that referenced this pull request Apr 15, 2024
…7895)

Reuse support.check_cflags_pgo() in test_peg_generator to check for
PGO build.

Log PGO_PROF_USE_FLAG in test.pythoninfo.
(cherry picked from commit 64cd6fc)

Co-authored-by: Victor Stinner <vstinner@python.org>
@vstinner

Copy link
Copy Markdown
Member Author

Merged, thanks for the review @erlend-aasland.

diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
Reuse support.check_cflags_pgo() in test_peg_generator to check for
PGO build.

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

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants