summaryrefslogtreecommitdiffstats
path: root/Lib/test/pythoninfo.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-04-15 14:15:30 (GMT)
committerGitHub <noreply@github.com>2024-04-15 14:15:30 (GMT)
commit6a4c06bcb341628d720ea5b2d0cb5500db8b7694 (patch)
treee3c13ed13f68d96568b63115634be75ba71d3420 /Lib/test/pythoninfo.py
parente7c774996ae1da6f395a42da162a39b31bd710d0 (diff)
downloadcpython-6a4c06bcb341628d720ea5b2d0cb5500db8b7694.zip
cpython-6a4c06bcb341628d720ea5b2d0cb5500db8b7694.tar.gz
cpython-6a4c06bcb341628d720ea5b2d0cb5500db8b7694.tar.bz2
[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>
Diffstat (limited to 'Lib/test/pythoninfo.py')
-rw-r--r--Lib/test/pythoninfo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/pythoninfo.py b/Lib/test/pythoninfo.py
index 74ebb5e..6efeaad 100644
--- a/Lib/test/pythoninfo.py
+++ b/Lib/test/pythoninfo.py
@@ -509,6 +509,7 @@ def collect_sysconfig(info_add):
'MACHDEP',
'MULTIARCH',
'OPT',
+ 'PGO_PROF_USE_FLAG',
'PY_CFLAGS',
'PY_CFLAGS_NODIST',
'PY_CORE_LDFLAGS',