summaryrefslogtreecommitdiffstats
path: root/Lib/test/pythoninfo.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-04-15 13:59:34 (GMT)
committerGitHub <noreply@github.com>2024-04-15 13:59:34 (GMT)
commit64cd6fc9a6a3c3c19091a1c81cbbe8994583017d (patch)
tree1b628e90318c56d2746998cfc2c50ea14a04aec2 /Lib/test/pythoninfo.py
parent784e076a10e828f383282df8a4b993a1b821f547 (diff)
downloadcpython-64cd6fc9a6a3c3c19091a1c81cbbe8994583017d.zip
cpython-64cd6fc9a6a3c3c19091a1c81cbbe8994583017d.tar.gz
cpython-64cd6fc9a6a3c3c19091a1c81cbbe8994583017d.tar.bz2
gh-117889: Fix PGO test in test_peg_generator (#117893)
Reuse support.check_cflags_pgo() in test_peg_generator to check for PGO build. Log PGO_PROF_USE_FLAG in test.pythoninfo.
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 0cfd033..1db9fb9 100644
--- a/Lib/test/pythoninfo.py
+++ b/Lib/test/pythoninfo.py
@@ -513,6 +513,7 @@ def collect_sysconfig(info_add):
'MACHDEP',
'MULTIARCH',
'OPT',
+ 'PGO_PROF_USE_FLAG',
'PY_CFLAGS',
'PY_CFLAGS_NODIST',
'PY_CORE_LDFLAGS',