Revision c30d5df74cee5c2273ed219d3ad28d8b3f6298b4 authored by Miss Islington (bot) on 13 September 2023, 10:37:10 UTC, committed by GitHub on 13 September 2023, 10:37:10 UTC
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>
1 parent 3d8e4d7
Raw File
.pre-commit-config.yaml
repos:
  - repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v4.4.0
    hooks:
      - id: check-yaml
      - id: end-of-file-fixer
        types: [python]
        exclude: Lib/test/coding20731.py
      - id: trailing-whitespace
        types_or: [c, python, rst]

  - repo: https://github.com/sphinx-contrib/sphinx-lint
    rev: v0.6.8
    hooks:
      - id: sphinx-lint
        args: [--enable=default-role]
        files: ^Doc/|^Misc/NEWS.d/next/
        types: [rst]
back to top