summaryrefslogtreecommitdiffstats
path: root/Lib/test/libregrtest/utils.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-09-02 14:10:52 (GMT)
committerGitHub <noreply@github.com>2024-09-02 14:10:52 (GMT)
commit3b3a1a8e7ebbd824778d16fad457a3fa15a9f7e4 (patch)
tree8f56647adbac5b9f91412d4c9403ad6e95b8e60d /Lib/test/libregrtest/utils.py
parent05dcc8160191dbf760157e2c9675dbbcc5edc674 (diff)
downloadcpython-3b3a1a8e7ebbd824778d16fad457a3fa15a9f7e4.zip
cpython-3b3a1a8e7ebbd824778d16fad457a3fa15a9f7e4.tar.gz
cpython-3b3a1a8e7ebbd824778d16fad457a3fa15a9f7e4.tar.bz2
[3.13] gh-101525: Skip test_gdb if the binary is relocated by BOLT. (gh-118572) (#123601)
gh-101525: Skip test_gdb if the binary is relocated by BOLT. (gh-118572) (cherry picked from commit f95fc4de115ae03d7aa6dece678240df085cb4f6) Co-authored-by: Donghee Na <donghee.na@python.org>
Diffstat (limited to 'Lib/test/libregrtest/utils.py')
-rw-r--r--Lib/test/libregrtest/utils.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/libregrtest/utils.py b/Lib/test/libregrtest/utils.py
index f4d3b00..87246df 100644
--- a/Lib/test/libregrtest/utils.py
+++ b/Lib/test/libregrtest/utils.py
@@ -343,6 +343,11 @@ def get_build_info():
if support.check_cflags_pgo():
# PGO (--enable-optimizations)
optimizations.append('PGO')
+
+ if support.check_bolt_optimized():
+ # BOLT (--enable-bolt)
+ optimizations.append('BOLT')
+
if optimizations:
build.append('+'.join(optimizations))