]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-117889: Fix PGO test in test_peg_generator (GH-117893) (#117895)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 15 Apr 2024 14:15:30 +0000 (16:15 +0200)
committerGitHub <noreply@github.com>
Mon, 15 Apr 2024 14:15:30 +0000 (14:15 +0000)
commit6a4c06bcb341628d720ea5b2d0cb5500db8b7694
treee3c13ed13f68d96568b63115634be75ba71d3420
parente7c774996ae1da6f395a42da162a39b31bd710d0
[3.12] gh-117889: Fix PGO test in test_peg_generator (GH-117893) (#117895)

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 64cd6fc9a6a3c3c19091a1c81cbbe8994583017d)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/pythoninfo.py
Lib/test/test_peg_generator/test_c_parser.py