diff options
author | Victor Stinner <vstinner@python.org> | 2023-09-13 04:24:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-13 04:24:32 (GMT) |
commit | 44d9a71ea246e7c3fb478d9be62c16914be6c545 (patch) | |
tree | ca98f3887fcd479cb8ec6924ee30f0467ee7dedd /Misc | |
parent | b39f65a495b3300caa4144089ef7cb20a0bb5bd0 (diff) | |
download | cpython-44d9a71ea246e7c3fb478d9be62c16914be6c545.zip cpython-44d9a71ea246e7c3fb478d9be62c16914be6c545.tar.gz cpython-44d9a71ea246e7c3fb478d9be62c16914be6c545.tar.bz2 |
gh-104736: Fix test_gdb tests on ppc64le with clang (#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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Tests/2023-09-13-05-58-09.gh-issue-104736.lA25Fu.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2023-09-13-05-58-09.gh-issue-104736.lA25Fu.rst b/Misc/NEWS.d/next/Tests/2023-09-13-05-58-09.gh-issue-104736.lA25Fu.rst new file mode 100644 index 0000000..85c370f --- /dev/null +++ b/Misc/NEWS.d/next/Tests/2023-09-13-05-58-09.gh-issue-104736.lA25Fu.rst @@ -0,0 +1,4 @@ +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. Patch by Victor Stinner. |