]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-104736: Fix test_gdb tests on ppc64le with clang (GH-109360) (#109362)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 13 Sep 2023 04:48:44 +0000 (21:48 -0700)
committerGitHub <noreply@github.com>
Wed, 13 Sep 2023 04:48:44 +0000 (04:48 +0000)
commit66c0d0ac8c55be9c973be1189b0e9ffcfdfb35a4
tree9db92dffdc953cc657056f105336e5a97a5932b0
parentdf21fdc97357e8af50839a42ab69e3588db7f6df
[3.11] gh-104736: Fix test_gdb tests on ppc64le with clang (GH-109360) (#109362)

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]