]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-104736: Fix test_gdb tests on ppc64le with clang (GH-109360) (#109361)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 13 Sep 2023 10:37:10 +0000 (03:37 -0700)
committerGitHub <noreply@github.com>
Wed, 13 Sep 2023 10:37:10 +0000 (12:37 +0200)
commitc30d5df74cee5c2273ed219d3ad28d8b3f6298b4
treeded57a8b9a726695180cbc985f8e68ea210418c1
parent3d8e4d7d0c674753c45e216f5bd011ed3274dc20
[3.12] gh-104736: Fix test_gdb tests on ppc64le with clang (GH-109360) (#109361)

gh-104736: Fix test_gdb tests on ppc64le with clang (GH-109360)

Fix test_gdb on Python built with LLVM clang 16 on Linux ppc64le (ex:
Fedora 38). Search patterns in gdb "bt" command output to detect
when gdb fails to retrieve the traceback. For example, skip a test if
"Backtrace stopped: frame did not save the PC" is found.
(cherry picked from commit 44d9a71ea246e7c3fb478d9be62c16914be6c545)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_gdb.py
Misc/NEWS.d/next/Tests/2023-09-13-05-58-09.gh-issue-104736.lA25Fu.rst [new file with mode: 0644]